diff hgext/progress.py @ 14836:925cab23d7d5

progress: remove superfluous parens
author Augie Fackler <durin42@gmail.com>
date Thu, 02 Jun 2011 14:33:01 -0500
parents 76f295eaed86
children ec4ba216ddef
line wrap: on
line diff
--- a/hgext/progress.py	Sun Jul 03 12:58:03 2011 +0200
+++ b/hgext/progress.py	Thu Jun 02 14:33:01 2011 -0500
@@ -53,7 +53,7 @@
     return ' '.join(s for s in args if s)
 
 def shouldprint(ui):
-    return (util.isatty(sys.stderr) or ui.configbool('progress', 'assume-tty'))
+    return util.isatty(sys.stderr) or ui.configbool('progress', 'assume-tty')
 
 def fmtremaining(seconds):
     if seconds < 60: