##// 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 templateutil,
129 templateutil,
130 util,
130 util,
131 )
131 )
132 from .utils import dateutil
132 from .utils import (
133 dateutil,
134 stringutil,
135 )
133
136
134 pickle = util.pickle
137 pickle = util.pickle
135
138
@@ -321,7 +324,7 b' class debugformatter(baseformatter):'
321 self._out = out
324 self._out = out
322 self._out.write("%s = [\n" % self._topic)
325 self._out.write("%s = [\n" % self._topic)
323 def _showitem(self):
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 def end(self):
328 def end(self):
326 baseformatter.end(self)
329 baseformatter.end(self)
327 self._out.write("]\n")
330 self._out.write("]\n")
General Comments 0
You need to be logged in to leave comments. Login now