changeset 41263:c2f62720e37d

fastannotate: use pycompat.maplist instead of map Differential Revision: https://phab.mercurial-scm.org/D5613
author Augie Fackler <augie@google.com>
date Wed, 16 Jan 2019 11:56:08 -0500
parents e40b7a504b1d
children dfc73c803b77
files hgext/fastannotate/formatter.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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))