##// END OF EJS Templates
formatter: use stringutil.pprint() in debug output to drop b''
Yuya Nishihara -
r40310:a8b91745 default
parent child Browse files
Show More
@@ -129,7 +129,10 b' from . import ('
129 129 templateutil,
130 130 util,
131 131 )
132 from .utils import dateutil
132 from .utils import (
133 dateutil,
134 stringutil,
135 )
133 136
134 137 pickle = util.pickle
135 138
@@ -321,7 +324,7 b' class debugformatter(baseformatter):'
321 324 self._out = out
322 325 self._out.write("%s = [\n" % self._topic)
323 326 def _showitem(self):
324 self._out.write(' %s,\n' % pycompat.byterepr(self._item))
327 self._out.write(' %s,\n' % stringutil.pprint(self._item))
325 328 def end(self):
326 329 baseformatter.end(self)
327 330 self._out.write("]\n")
General Comments 0
You need to be logged in to leave comments. Login now