log matching links in a more logical place

This commit is contained in:
Nick Sweeting 2019-04-16 23:20:31 -04:00
parent 1e759084f3
commit 50d368b1bc
2 changed files with 6 additions and 2 deletions

View file

@ -121,11 +121,15 @@ def remove_archive_links(filter_patterns: List[str], filter_type: str='exact',
))
finally:
timer.end()
if not len(links):
log_removal_finished(0, 0)
raise SystemExit(1)
log_list_finished(links)
log_removal_started(links, yes=yes, delete=delete)
timer = TimedProgress(360, prefix=' ')
try:
to_keep = []