1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-26 06:43:44 +00:00

another bug fix in pprint item exporter

This commit is contained in:
Pablo Hoffman 2009-07-28 23:00:35 -03:00
parent 643f93721b
commit c3d732f28a

View File

@ -77,7 +77,7 @@ class PprintItemExporter(BaseItemExporter):
self.file = file
def export(self, item):
self.file.write(pprint.pprint(dict(item)) + '\n')
self.file.write(pprint.pformat(dict(item)) + '\n')
class PickleItemExporter(BaseItemExporter):