@plug.handler()
def delete_file(metadata):
    try:
        ignore_delete.add(metadata.path)
        os.unlink(metadata.path)
    except (__HOLE__, OSError) as e:
        ignore_delete.discard(metadata.path)
        raise ServiceError(
            u"Error deleting file '{}': {}".format(metadata.path, e)
        )
dataset/ETHPy150Open onitu/onitu/drivers/local_storage/onitu_local_storage/local_storage.py/delete_file