##// END OF EJS Templates
annotate: avoid using a list comprehension to fill a list with fixed values...
Matt Harbison -
r44437:cd96eccd default
parent child Browse files
Show More
@@ -559,7 +559,7 b' def annotate(ui, repo, *pats, **opts):'
559 559 ml = max(sizes)
560 560 formats.append([sep + b' ' * (ml - w) + b'%s' for w in sizes])
561 561 else:
562 formats.append([b'%s' for x in l])
562 formats.append([b'%s'] * len(l))
563 563 pieces.append(l)
564 564
565 565 for f, p, n in zip(zip(*formats), zip(*pieces), lines):
General Comments 0
You need to be logged in to leave comments. Login now