diff mercurial/cmdutil.py @ 11821:15aa42aaae4c

cmdutil: remove unnecessary parenthesis
author Martin Geisler <mg@aragost.com>
date Thu, 12 Aug 2010 18:00:41 +0200
parents 4da35e02b67c
children 99cafcae25d9
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Thu Aug 12 17:58:03 2010 +0200
+++ b/mercurial/cmdutil.py	Thu Aug 12 18:00:41 2010 +0200
@@ -638,7 +638,7 @@
         fp.write("# HG changeset patch\n")
         fp.write("# User %s\n" % ctx.user())
         fp.write("# Date %d %d\n" % ctx.date())
-        if branch and (branch != 'default'):
+        if branch and branch != 'default':
             fp.write("# Branch %s\n" % branch)
         fp.write("# Node ID %s\n" % hex(node))
         fp.write("# Parent  %s\n" % hex(prev))