diff mercurial/cmdutil.py @ 8117:2b30d8488819

remove unnecessary outer parenthesis in if-statements
author Martin Geisler <mg@lazybytes.net>
date Wed, 22 Apr 2009 01:39:47 +0200
parents 9ec25db32b4e
children af44d0b953c6
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Wed Apr 22 09:11:46 2009 +0200
+++ b/mercurial/cmdutil.py	Wed Apr 22 01:39:47 2009 +0200
@@ -359,7 +359,7 @@
 
         # check for overwrites
         exists = os.path.exists(target)
-        if (not after and exists or after and state in 'mn'):
+        if not after and exists or after and state in 'mn':
             if not opts['force']:
                 ui.warn(_('%s: not overwriting - file exists\n') %
                         reltarget)