transaction: re-wrap line to avoid a black bug
authorAugie Fackler <augie@google.com>
Sat, 05 Oct 2019 09:57:00 -0400
changeset 43050 a614f26d4897
parent 43049 6e8582ccf76d
child 43051 da3329fe01e3
transaction: re-wrap line to avoid a black bug Differential Revision: https://phab.mercurial-scm.org/D6970
mercurial/transaction.py
--- a/mercurial/transaction.py	Sat Oct 05 09:55:56 2019 -0400
+++ b/mercurial/transaction.py	Sat Oct 05 09:57:00 2019 -0400
@@ -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]