Exemple #1
0
 def read_option(self, module, option):
     options_name = '{}_options'.format(module)
     options = getattr(self.config, options_name)['options']
     return read_option(option, options, self.supported_options[module])
 def read_option(self, option_name, default=None):
     return read_option(option_name, self.options, self.supported_options, default)
Exemple #3
0
 def read_option(self, module, option):
     options_name = '{}_options'.format(module)
     options = getattr(self.config, options_name)['options']
     return read_option(option, options, self.supported_options[module])
Exemple #4
0
 def read_option(self, option_name, default=None):
     return read_option(option_name, self.options, self.supported_options,
                        default)