equal
deleted
inserted
replaced
322 def __init__(self, ui, out, topic, opts): |
322 def __init__(self, ui, out, topic, opts): |
323 baseformatter.__init__(self, ui, topic, opts, _nullconverter) |
323 baseformatter.__init__(self, ui, topic, opts, _nullconverter) |
324 self._out = out |
324 self._out = out |
325 self._out.write("%s = [\n" % self._topic) |
325 self._out.write("%s = [\n" % self._topic) |
326 def _showitem(self): |
326 def _showitem(self): |
327 self._out.write(' %s,\n' % stringutil.pprint(self._item)) |
327 self._out.write(' %s,\n' |
|
328 % stringutil.pprint(self._item, indent=4, level=1)) |
328 def end(self): |
329 def end(self): |
329 baseformatter.end(self) |
330 baseformatter.end(self) |
330 self._out.write("]\n") |
331 self._out.write("]\n") |
331 |
332 |
332 class pickleformatter(baseformatter): |
333 class pickleformatter(baseformatter): |