mirror of https://github.com/scrapy/scrapy.git
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…
Reference in New Issue