Show More
@@ -305,10 +305,10 class jsonformatter(baseformatter): | |||||
305 | baseformatter.__init__(self, ui, topic, opts, _nullconverter) |
|
305 | baseformatter.__init__(self, ui, topic, opts, _nullconverter) | |
306 | self._out = out |
|
306 | self._out = out | |
307 | self._out.write("[") |
|
307 | self._out.write("[") | |
308 |
self |
|
308 | self._first = True | |
309 | def _showitem(self): |
|
309 | def _showitem(self): | |
310 |
if self. |
|
310 | if self._first: | |
311 |
self |
|
311 | self._first = False | |
312 | else: |
|
312 | else: | |
313 | self._out.write(",") |
|
313 | self._out.write(",") | |
314 |
|
314 |
General Comments 0
You need to be logged in to leave comments.
Login now