# HG changeset patch # User Augie Fackler # Date 1547657768 18000 # Node ID c2f62720e37d8fa3476387dfdd9b215653435b6a # Parent e40b7a504b1d20732af98f4c5123b80c4561ac25 fastannotate: use pycompat.maplist instead of map Differential Revision: https://phab.mercurial-scm.org/D5613 diff -r e40b7a504b1d -r c2f62720e37d hgext/fastannotate/formatter.py --- 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))