Patchwork D6970: transaction: re-wrap line to avoid a black bug

login
register
mail settings
Submitter phabricator
Date Oct. 5, 2019, 2:05 p.m.
Message ID <differential-rev-PHID-DREV-4enzxexk4qg5e5atgr4e-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/41971/
State Superseded
Headers show

Comments

phabricator - Oct. 5, 2019, 2:05 p.m.
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6970

AFFECTED FILES
  mercurial/transaction.py

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/transaction.py b/mercurial/transaction.py
--- a/mercurial/transaction.py
+++ b/mercurial/transaction.py
@@ -333,8 +333,10 @@ 
 
             # for generation at closing, check if it's before or after finalize
             postfinalize = group == gengrouppostfinalize
-            if (group != gengroupall and
-                (id in postfinalizegenerators) != (postfinalize)):
+            if (
+                    group != gengroupall
+                    and (id in postfinalizegenerators) != postfinalize
+            ):
                 continue
 
             vfs = self._vfsmap[location]