##// END OF EJS Templates
py3: use pycompat.maplist instead of map...
Pulkit Goyal -
r39762:7e3ce213 default
parent child Browse files
Show More
@@ -78,7 +78,7 b' class defaultformatter(object):'
78 pieces.append(l)
78 pieces.append(l)
79 if name in ['node', 'date']: # node and date has fixed size
79 if name in ['node', 'date']: # node and date has fixed size
80 l = l[:1]
80 l = l[:1]
81 widths = map(encoding.colwidth, set(l))
81 widths = pycompat.maplist(encoding.colwidth, set(l))
82 maxwidth = (max(widths) if widths else 0)
82 maxwidth = (max(widths) if widths else 0)
83 maxwidths.append(maxwidth)
83 maxwidths.append(maxwidth)
84
84
General Comments 0
You need to be logged in to leave comments. Login now