Skip to content

Commit

Permalink
Remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alighazi288 committed Dec 27, 2024
1 parent e38be0d commit 0f990cd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/borg/archiver/extract_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,10 @@ def do_extract(self, args, repository, manifest, archive):
is_matched = matcher.match(orig_path)
log_prefix = "+" if is_matched else "-"

# Conditionally log based on the output_list flag
if output_list:
logging.getLogger("borg.output.list").info(f"{log_prefix} {remove_surrogates(item.path)}")

if is_matched:
# Preloading item chunks only if the item will be fetched
archive.preload_item_chunks(item, optimize_hardlinks=True)

if not dry_run:
Expand Down

0 comments on commit 0f990cd

Please sign in to comment.