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

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


Closed by commit rHGa614f26d4897: transaction: re-wrap line to avoid a black bug (authored by durin42).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6970?vs=16817&id=16823

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6970/new/

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, indygreg
Cc: mercurial-devel


More information about the Mercurial-devel mailing list