mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-11 09:59:19 -04:00
Merge pull request #4931 from ThomasWaldmann/fix-pep8
make the pep8 checker happy
This commit is contained in:
commit
bf225aff4e
1 changed files with 2 additions and 3 deletions
|
|
@ -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)))
|
if ((not has_link or (partial_extract and not matched and hardlinkable(item.mode))) and
|
||||||
and
|
(item.get('hardlink_master', True) and 'source' not in item)):
|
||||||
(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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue