trivial bool() cleanup
authorMatt Mackall <mpm@selenic.com>
Tue, 15 Aug 2006 18:12:36 -0500
changeset 2916 834e147842d7
parent 2915 21631c2c09a5
child 2917 dd032b0f02ac
trivial bool() cleanup
mercurial/merge.py
--- a/mercurial/merge.py
+++ b/mercurial/merge.py
@@ -103,7 +103,7 @@ def update(repo, node, branchmerge=False
     # we care about merging
     repo.ui.note(_("resolving manifests\n"))
     repo.ui.debug(_(" overwrite %s branchmerge %s partial %s linear %s\n") %
-                  (overwrite, branchmerge, partial and True or False, linear_path))
+                  (overwrite, branchmerge, bool(partial), linear_path))
     repo.ui.debug(_(" ancestor %s local %s remote %s\n") %
                   (short(man), short(m1n), short(m2n)))