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

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Sat Oct 5 10:05:43 EDT 2019


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

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]



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


More information about the Mercurial-devel mailing list