##// END OF EJS Templates
cmdutil: use a generator expression instead of a list comprehension
Augie Fackler -
r32432:75544176 default
parent child Browse files
Show More
@@ -1169,7 +1169,7 b" def export(repo, revs, fntemplate='hg-%h"
1169 '''
1169 '''
1170
1170
1171 total = len(revs)
1171 total = len(revs)
1172 revwidth = max([len(str(rev)) for rev in revs])
1172 revwidth = max(len(str(rev)) for rev in revs)
1173 filemode = {}
1173 filemode = {}
1174
1174
1175 def single(rev, seqno, fp):
1175 def single(rev, seqno, fp):
General Comments 0
You need to be logged in to leave comments. Login now