def handle(self, *args, **kwargs):
        try:
            os.makedirs(path('static/sumo/js/templates'))
        except OSError:
            pass

        try:
            os.makedirs(path('static/sumo/tpl'))
        except OSError:
            pass

        files = os.listdir(path('static/sumo/tpl'))

        for f in files:
            if f.endswith('.html'):
                tpl = f[:-5]
                cmd = '%s %s > %s' % (
                    settings.NUNJUCKS_PRECOMPILE_BIN,
                    path('static/sumo/tpl'),
                    path(tpl % 'static/sumo/js/templates/%s.js'))
                subprocess.call(cmd, shell=True)
dataset/ETHPy150Open mozilla/kitsune/kitsune/sumo/management/commands/nunjucks_precompile.py/Command.handle/swapped operands of `%`