Parcourir la source

remove comment about strange hardlink_masters term

(maybe revisit this later, this is not in scope of the generic hardlinks refactor)
Thomas Waldmann il y a 8 ans
Parent
commit
155f38c233
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/borg/archive.py

+ 1 - 1
src/borg/archive.py

@@ -519,7 +519,7 @@ Utilization of max. archive size: {csize_max:.0%}
                 # assign chunks to this item, since the item which had the chunks was not extracted
                 item.chunks = chunks
         yield hardlink_set
-        if not hardlink_set and hardlink_masters:  # 2nd term, is it correct/needed?
+        if not hardlink_set and hardlink_masters:
             # Update master entry with extracted item path, so that following hardlinks don't extract twice.
             hardlink_masters[item.get('source') or original_path] = (None, path)