Skip to content
Snippets Groups Projects
Commit aeaa49d7 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

Fix using wrong method to delete files

parent b2f677c3
No related branches found
No related tags found
1 merge request!10Implement pruning mechanism for the utils script
Pipeline #39326 passed with warnings
...@@ -54,7 +54,7 @@ def remove_surl_locations(surls: List[str], dry_run=False) -> None: ...@@ -54,7 +54,7 @@ def remove_surl_locations(surls: List[str], dry_run=False) -> None:
logger.debug("removing surl %s", surl) logger.debug("removing surl %s", surl)
logger.debug("file stats are: %s", context.stat(surl)) logger.debug("file stats are: %s", context.stat(surl))
context.release(surl) context.unlink(surl)
else: else:
logger.info("[dry-run] removing surl %s", surl) logger.info("[dry-run] removing surl %s", surl)
logger.info("file stats are: %s", context.stat(surl)) logger.info("file stats are: %s", context.stat(surl))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment