diff --git a/invenio_utilities_tuw/cli/files.py b/invenio_utilities_tuw/cli/files.py index acd956c141571e4af7c545f2f4fd58004af546da..7282fa4605a617aff6d20322911f62a6ed09b18a 100644 --- a/invenio_utilities_tuw/cli/files.py +++ b/invenio_utilities_tuw/cli/files.py @@ -46,7 +46,7 @@ def get_zombie_files(location): """Get a list of files in the given Location that aren't referenced in the DB.""" # see which files are on disk at the given location all_files = [] - for (p, _, files) in os.walk(location.uri): + for p, _, files in os.walk(location.uri): all_files += [os.path.join(p, f) for f in files] # filter out those files that invenio has knowledge about