From 9b3e28a41e9e2d0b064c86728d17a963bbe1a4f4 Mon Sep 17 00:00:00 2001 From: Will Date: Thu, 5 Mar 2020 12:50:28 -0500 Subject: [PATCH] Make flake8 happy about complex conditional --- src/borg/archiver.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/borg/archiver.py b/src/borg/archiver.py index 65984ec7c..8bdd7dede 100644 --- a/src/borg/archiver.py +++ b/src/borg/archiver.py @@ -780,9 +780,8 @@ class Archiver: # 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 # 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) filter = self.build_filter(matcher, peek_and_store_hardlink_masters, strip_components)