(self, configSet, configType)
return cfgParser.sections()
Return sections for configSet configType configuration.

        configSet must be either 'user' or 'default'
        configType must be in self.config_types.
Return sections for configSet configType configuration.
Return sections for configSet configType configuration .
def GetSectionList(self, configSet, configType):
        """Return sections for configSet configType configuration.

        configSet must be either 'user' or 'default'
        configType must be in self.config_types.
        """
        if not (configType in self.config_types):
            raise InvalidConfigType('Invalid configType specified')
        if configSet == 'user':
            cfgParser = self.userCfg[configType]
        elif configSet == 'default':
            cfgParser=self.defaultCfg[configType]
        else:
            raise InvalidConfigSet('Invalid configSet specified')
        return cfgParser.sections()
def GetSectionList ( self , configSet , configType ) : if not ( configType in self . config_types ) : raise InvalidConfigType ( 'Invalid configType specified' ) if configSet == 'user' : cfgParser = self . userCfg [ configType ] elif configSet == 'default' : cfgParser = self . defaultCfg [ configType ] else : raise InvalidConfigSet ( 'Invalid configSet specified' ) return cfgParser . sections ( )