changeset 43050:a614f26d4897

transaction: re-wrap line to avoid a black bug Differential Revision: https://phab.mercurial-scm.org/D6970
author Augie Fackler <augie@google.com>
date Sat, 05 Oct 2019 09:57:00 -0400
parents 6e8582ccf76d
children da3329fe01e3
files mercurial/transaction.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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]