--- 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):