| Home | Trees | Index | Help |
|---|
| Package svnmailer :: Module config :: Class ConfigFileSettings |
|
object--+ |Settings--+ | ConfigFileSettings
| Method Summary | |
|---|---|
Implements the init method of settings.Settings | |
Applies the charset found in [general] | |
Applies the includes found in [general] | |
Resolves all map definitions | |
ConfigParser.ConfigParser
|
Returns a ConfigParser instance |
| file like object |
Finds and opens the main config file |
list
|
Returns the default config files |
dict
|
Returns the default group dict |
svnmailer.settings.GroupSettingsContainer
|
Returns the default groups container |
callable
|
Returns a plain map for a particular section |
Actual implementation of self.init() | |
Initializes the general config | |
Initializes the Group config | |
Initializes the runtime from options | |
ConfigParser.ConfigParser
|
Parse config file |
Passes the options to the specified container | |
| Inherited from Settings | |
Constructor | |
GroupSettingsContainer
|
Returns an initialized default group settings container |
GeneralSettingsContainer
|
Returns an initialized general settings container |
GroupSettingsContainer
|
Returns an initialized group settings container |
RuntimeSettingsContainer
|
Returns an initialized runtime settings container |
Checks if all containers are filled | |
list
|
Returns the basic arguments for container initialization |
| Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
helper for pickle... | |
helper for pickle... | |
x.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
| Instance Variable Summary | |
|---|---|
ConfigParser.ConfigParser |
_config: The config object |
| Inherited from Settings | |
str |
_charset_: The charset used for settings recoding |
dict |
_maps_: The value mappers to use or None |
bool |
debug: Debug state |
GeneralSettingsContainer |
general: General settings |
list of GroupSettingsContainer |
groups: group settings list |
RuntimeSettingsContainer |
runtime: Runtime settigs |
| Class Variable Summary | |
|---|---|
list |
__implements__ = [<class 'svnmailer.settings.Settings'>]
|
str |
MAPSECTION: The mapping section name; if None, mapping is effectively
disabled |
| Method Details |
|---|
init(self, *args, **kwargs)Implements theinit method of settings.Settings
|
_applyCharset(self)Applies the charset found in [general] |
_applyIncludes(self, origfile, _file=<type 'file'>)Applies the includes found in [general]
|
_applyMaps(self)Resolves all map definitions
|
_createConfigParser(self)Returns a ConfigParser instance
|
_findConfig(self, _file=<type 'file'>)Finds and opens the main config file
|
_getDefaultConfigFiles(self, _os=<module 'os' from '/usr/lib/python2.4/os.pyc'>, _sys=<module 'sys' (built-in)>)Returns the default config files
|
_getDefaultGroupDict(self, container)Returns the default group dict
|
_getGroupDefaults(self)Returns the default groups container
|
_getPlainMap(self, section)Returns a plain map for a particular section
|
_init(self, options)Actual implementation ofself.init()
|
_initGeneral(self)Initializes the general config
|
_initGroups(self)Initializes the Group config |
_initRuntime(self, options)Initializes the runtime from options
|
_loadConfig(self)Parse config file
|
_passConfig(self, container, section)Passes the options to the specified container
|
| Instance Variable Details |
|---|
_configThe config object
|
| Class Variable Details |
|---|
__implements__
|
MAPSECTIONThe mapping section name; ifNone, mapping is effectively
disabled
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Mon Apr 17 12:39:11 2006 | http://epydoc.sf.net |