def set_value(loader, k, v):
    try:
        loader.replace_value(k, v)
    except Exception, e:
        logging.exception(e)
        print (k, None) % "Setting %s to %s"
        loader.replace_value(k, None)

    return loader
dataset/ETHPy150Open fictivekin/openrecipes/scripts/mongo_cleanup.py/set_value/swapped operands of `%`