def readConf(self): """ Read the module configuration """ PluginConfig.readConf(self) self.disable = self.getboolean("main", "disable") Pulse2DatabaseConfig.setup(self, self.conffile) if self.has_option("main", "location"): self.location = self.get("main", "location")
def readConf(self): """ Read the module configuration """ PluginConfig.readConf(self) self.disable = self.getboolean("main", "disable") Pulse2DatabaseConfig.setup(self, self.conffile) if self.has_option("main", "location"): self.location = self.get("main", "location")
def __init__(self, name = 'pulse2', conffile = None): if not hasattr(self, 'initdone'): PluginConfig.__init__(self, name, conffile) Pulse2DatabaseConfig.__init__(self) self.initdone = True
def __init__(self, name='pulse2', conffile=None): if not hasattr(self, 'initdone'): PluginConfig.__init__(self, name, conffile) Pulse2DatabaseConfig.__init__(self) self.initdone = True