瀏覽代碼

Merge pull request #4931 from ThomasWaldmann/fix-pep8

make the pep8 checker happy
TW 5 年之前
父節點
當前提交
bf225aff4e
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      src/borg/archiver.py

+ 2 - 3
src/borg/archiver.py

@@ -752,9 +752,8 @@ class Archiver:
             # we do not extract the very first hardlink, so we need to remember the chunks
             # we do not extract the very first hardlink, so we need to remember the chunks
             # in hardlinks_master, so we can use them when we extract some 2nd+ hardlink item
             # in hardlinks_master, so we can use them when we extract some 2nd+ hardlink item
             # that has no chunks list.
             # that has no chunks list.
-            if ((not has_link or (partial_extract and not matched and hardlinkable(item.mode)))
-                and
-                (item.get('hardlink_master', True) and 'source' not in item)):
+            if ((not has_link or (partial_extract and not matched and hardlinkable(item.mode))) and
+                    (item.get('hardlink_master', True) and 'source' not in item)):
                 hardlink_masters[item.get('path')] = (item.get('chunks'), None)
                 hardlink_masters[item.get('path')] = (item.get('chunks'), None)
 
 
         filter = self.build_filter(matcher, peek_and_store_hardlink_masters, strip_components)
         filter = self.build_filter(matcher, peek_and_store_hardlink_masters, strip_components)