Show More
@@ -128,7 +128,7 b' class jsonformatter(defaultformatter):' | |||||
128 | if annotatedresult: |
|
128 | if annotatedresult: | |
129 | self._writecomma() |
|
129 | self._writecomma() | |
130 |
|
130 | |||
131 | pieces = [(name, map(f, annotatedresult)) |
|
131 | pieces = [(name, pycompat.maplist(f, annotatedresult)) | |
132 | for f, sep, name, enc in self.funcmap] |
|
132 | for f, sep, name, enc in self.funcmap] | |
133 | if lines is not None: |
|
133 | if lines is not None: | |
134 | pieces.append(('line', lines)) |
|
134 | pieces.append(('line', lines)) |
General Comments 0
You need to be logged in to leave comments.
Login now