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