Quellcode durchsuchen

extract: fix confusing output of borg extract --list --strip-components, fixes #4934

Rémi Oudin vor 5 Jahren
Ursprung
Commit
70c8538626
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/borg/archiver.py

+ 1 - 1
src/borg/archiver.py

@@ -797,7 +797,7 @@ class Archiver:
                     except BackupOSError as e:
                         self.print_warning('%s: %s', remove_surrogates(dir_item.path), e)
             if output_list:
-                logging.getLogger('borg.output.list').info(remove_surrogates(orig_path))
+                logging.getLogger('borg.output.list').info(remove_surrogates(item.path))
             try:
                 if dry_run:
                     archive.extract_item(item, dry_run=True, pi=pi)