##// END OF EJS Templates
histedit: avoid using a list comprehension to fill a list with fixed values...
Matt Harbison -
r44447:801b8d31 default
parent child Browse files
Show More
@@ -308,7 +308,7 b' Commands:'
308 if len(a.verbs):
308 if len(a.verbs):
309 v = b', '.join(sorted(a.verbs, key=lambda v: len(v)))
309 v = b', '.join(sorted(a.verbs, key=lambda v: len(v)))
310 actions.append(b" %s = %s" % (v, lines[0]))
310 actions.append(b" %s = %s" % (v, lines[0]))
311 actions.extend([b' %s' for l in lines[1:]])
311 actions.extend([b' %s'] * (len(lines) - 1))
312
312
313 for v in (
313 for v in (
314 sorted(primaryactions)
314 sorted(primaryactions)
General Comments 0
You need to be logged in to leave comments. Login now