mercurial/cmdutil.py
changeset 32432 75544176bc28
parent 32431 9fd9f91b0c43
child 32433 7feaf5550a9e
--- a/mercurial/cmdutil.py	Sat May 20 20:15:05 2017 -0400
+++ b/mercurial/cmdutil.py	Mon May 22 13:35:22 2017 -0400
@@ -1169,7 +1169,7 @@
     '''
 
     total = len(revs)
-    revwidth = max([len(str(rev)) for rev in revs])
+    revwidth = max(len(str(rev)) for rev in revs)
     filemode = {}
 
     def single(rev, seqno, fp):