hgext/fastannotate/formatter.py
changeset 41263 c2f62720e37d
parent 41262 e40b7a504b1d
child 41420 2ff8994ac71d
--- a/hgext/fastannotate/formatter.py	Wed Jan 16 11:55:49 2019 -0500
+++ b/hgext/fastannotate/formatter.py	Wed Jan 16 11:56:08 2019 -0500
@@ -128,7 +128,7 @@
         if annotatedresult:
             self._writecomma()
 
-        pieces = [(name, map(f, annotatedresult))
+        pieces = [(name, pycompat.maplist(f, annotatedresult))
                   for f, sep, name, enc in self.funcmap]
         if lines is not None:
             pieces.append(('line', lines))