def output_changes(new_item, old_dict):
    print (old_dict['name'], old_dict['source']) % "'%s' from '%s' ++++++ "
    for k, v in new_item.iteritems():
        new_val = v
        old_val = old_dict.get(k, None)
        if new_val != old_val:
            print "Changing %s to '%s'" % (k, new_val)
dataset/ETHPy150Open fictivekin/openrecipes/scripts/mongo_cleanup.py/output_changes/swapped operands of `%`