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

login
register
mail settings
Submitter phabricator
Date Oct. 5, 2019, 2:19 p.m.
Message ID <c55c5f86a3d948e6f1d23c49a7138480@localhost.localdomain>
Download mbox | patch
Permalink /patch/41975/
State Not Applicable
Headers show

Comments

phabricator - Oct. 5, 2019, 2:19 p.m.
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




To: durin42, #hg-reviewers, indygreg
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]