@plug.handler()
def move_file(old_metadata, new_metadata):
    try:
        ignore_move.add(old_metadata.path)
        os.renames(old_metadata.path, new_metadata.path)
    except (__HOLE__, OSError) as e:
        ignore_move.discard(old_metadata.path)
        raise ServiceError(
            u"Error moving file '{}': {}".format(old_metadata.path, e)
        )
dataset/ETHPy150Open onitu/onitu/drivers/local_storage/onitu_local_storage/local_storage.py/move_file