removed wrong self from base constructor calls

This commit is contained in:
Pablo Hoffman 2009-07-28 20:53:03 -03:00
parent bb7b6815c0
commit 643f93721b
1 changed files with 3 additions and 3 deletions

View File

@ -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):