Package config_common :: Module local_config :: Class rhncfgConfigParser
[hide private]
[frames] | no frames]

Class rhncfgConfigParser

source code


Instance Methods [hide private]
 
__init__(self, section, defaults=None, config_file_override=None)
defaults is either None, or a dictionary of default values which can be overridden
source code
 
read_config_files(self, overrides={}) source code
 
_get_config_files(self) source code
 
get_option(self, option) source code
 
keys(self) source code
 
__getitem__(self, item) source code

Inherited from ConfigParser.ConfigParser: get, items

Inherited from ConfigParser.ConfigParser (private): _interpolate, _interpolation_replace

Inherited from ConfigParser.RawConfigParser: add_section, defaults, getboolean, getfloat, getint, has_option, has_section, options, optionxform, read, readfp, remove_option, remove_section, sections, set, write

Inherited from ConfigParser.RawConfigParser (private): _get, _read

Class Variables [hide private]
  _local_config_file_name = '.rhncfgrc'
  _instance = None
hash(x)

Inherited from ConfigParser.ConfigParser (private): _KEYCRE

Inherited from ConfigParser.RawConfigParser: OPTCRE, OPTCRE_NV, SECTCRE

Inherited from ConfigParser.RawConfigParser (private): _boolean_states

Method Details [hide private]

__init__(self, section, defaults=None, config_file_override=None)
(Constructor)

source code 

defaults is either None, or a dictionary of default values which can be overridden

Overrides: ConfigParser.RawConfigParser.__init__