def __init__(self, config): Config.__init__(self, config, self.sections) self.attrs = {} if self._options["attributes"] != None: attrs = self._options["attributes"].split(",") for attr in attrs: (k,v) = attr.split("=") self.attrs[k] = v
def __init__(self, config): Config.__init__(self, config, self.sections) self.attrs = {} if self._options["attributes"] != None: attrs = self._options["attributes"].split(",") for attr in attrs: (k, v) = attr.split("=") self.attrs[k] = v
def __init__(self, config): # TODO: Define "multi" section as a Section object Config.__init__(self, config, [])