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:
parent
643f93721b
commit
c3d732f28a
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user