Commit 87666b5e authored by Seblu's avatar Seblu
Browse files

Fix incomplete move BaseConfigFile to OrderedDict

I guess I missed to finished moving BaseConfigFile class to a child class
of OrderedDict instead of havind a method config.
parent d7cb024c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -46,6 +46,5 @@ class BaseConfigFile(OrderedDict):
        logging.debug("loading config file at: %s" % self.path)
        self._configparser = RawConfigParser()
        self._configparser.read(self.path)
        self.config = OrderedDict()
        for name in self._configparser.sections():
            self.config[name] = OrderedDict(self._configparser.items(name))
            self[name] = OrderedDict(self._configparser.items(name))