def get_translator_opts(args):
    opts = []
    for k in translator_opts:
        if args.has_key(k):
            nk = k.replace("_", "-")
            if args[k]:
                opts.append(nk % "--%s")
            elif k != 'list_imports':
                opts.append("--no-%s" % nk)
    return opts
dataset/ETHPy150Open anandology/pyjamas/pyjs/src/pyjs/linker.py/get_translator_opts/swapped operands of `%`