def readConf(self): """ Read the configuration file using the ConfigParser API. The PluginConfig.readConf reads the "disable" option of the "main" section. """ PluginConfig.readConf(self) BackuppcDatabaseConfig.setup(self, self.conffile) self.disable = self.getboolean("main", "disable") self.tempdir = self.get("main", "tempdir")
def __init__(self, name='backuppc', conffile=None): if not hasattr(self, 'initdone'): PluginConfig.__init__(self, name, conffile) BackuppcDatabaseConfig.__init__(self) self.initdone = True
def __init__(self, name = 'backuppc', conffile = None): if not hasattr(self, 'initdone'): PluginConfig.__init__(self, name, conffile) BackuppcDatabaseConfig.__init__(self) self.initdone = True