Exemplo n.º 1
0
 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")
Exemplo n.º 2
0
 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")
Exemplo n.º 3
0
 def __init__(self, name='backuppc', conffile=None):
     if not hasattr(self, 'initdone'):
         PluginConfig.__init__(self, name, conffile)
         BackuppcDatabaseConfig.__init__(self)
         self.initdone = True
Exemplo n.º 4
0
 def __init__(self, name = 'backuppc', conffile = None):
     if not hasattr(self, 'initdone'):
         PluginConfig.__init__(self, name, conffile)
         BackuppcDatabaseConfig.__init__(self)
         self.initdone = True