示例#1
0
    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
示例#2
0
    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
示例#3
0
 def __init__(self, config):
     # TODO: Define "multi" section as a Section object
     Config.__init__(self, config, [])
示例#4
0
 def __init__(self, config):
     # TODO: Define "multi" section as a Section object
     Config.__init__(self, config, [])