From 643f93721be7e5e6a25e0d91ffe576690a540e92 Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Tue, 28 Jul 2009 20:53:03 -0300 Subject: [PATCH] removed wrong self from base constructor calls --- scrapy/newitem/exporters.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scrapy/newitem/exporters.py b/scrapy/newitem/exporters.py index 7605db94a..5d491991f 100644 --- a/scrapy/newitem/exporters.py +++ b/scrapy/newitem/exporters.py @@ -73,7 +73,7 @@ class BaseItemExporter(object): class PprintItemExporter(BaseItemExporter): def __init__(self, file): - super(PprintItemExporter, self).__init__(self) + super(PprintItemExporter, self).__init__() self.file = file def export(self, item): @@ -83,7 +83,7 @@ class PprintItemExporter(BaseItemExporter): class PickleItemExporter(BaseItemExporter): def __init__(self, *args, **kwargs): - super(PickleItemExporter, self).__init__(self) + super(PickleItemExporter, self).__init__() self.pickler = Pickler(*args, **kwargs) def export(self, item): @@ -95,7 +95,7 @@ class CsvItemExporter(BaseItemExporter): fields_to_export = () def __init__(self, *args, **kwargs): - super(CsvItemExporter, self).__init__(self) + super(CsvItemExporter, self).__init__() self.csv_writer = csv.writer(*args, **kwargs) def export(self, item):