Commit d75a901a by Calen Pennington

Use super for calling parent __init__ methods

parent 573abb80
......@@ -256,7 +256,7 @@ class MongoModuleStore(ModuleStoreBase):
user=None, password=None, request_cache=None,
metadata_inheritance_cache_subsystem=None, **kwargs):
ModuleStoreBase.__init__(self)
super(MongoModuleStore, self).__init__()
self.collection = pymongo.connection.Connection(
host=host,
......
......@@ -265,7 +265,7 @@ class XMLModuleStore(ModuleStoreBase):
course_dirs: If specified, the list of course_dirs to load. Otherwise,
load all course dirs
"""
ModuleStoreBase.__init__(self)
super(XMLModuleStore, self).__init__()
self.data_dir = path(data_dir)
self.modules = defaultdict(dict) # course_id -> dict(location -> XModuleDescriptor)
......
......@@ -25,7 +25,7 @@ WATCH_DIRS = [os.path.abspath(os.path.normpath(dir)) for dir in WATCH_DIRS]
class DjangoEventHandler(FileSystemEventHandler):
def __init__(self, process):
FileSystemEventHandler.__init__(self)
super(DjangoEventHandler, self).__init__()
self.process = process
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment