def apply_libpath(task_gen):
    libdir = task_gen.env["PYEXT_LIBDIR"]
    #implicit_paths = set([
    #    os.path.join(task_gen.env["BLDDIR"], os.path.dirname(s))
    #    for s in task_gen.sources])
    implicit_paths = []
    libdir = list(implicit_paths) + libdir
    task_gen.env["PYEXT_APP_LIBDIR"] = [
            d % task_gen.env["PYEXT_LIBDIR_FMT"] for d in libdir]
dataset/ETHPy150Open cournape/Bento/bento/private/_yaku/yaku/tools/pyext.py/apply_libpath/swapped operands of `%`