Home | Trees | Index | Help |
---|
Package svnmailer :: Package settings :: Module configfile :: Class FileConfig |
|
object
--+ |BaseConfig
--+ | FileConfig
Method Summary | |
---|---|
Initialization | |
Removes the specified section | |
Iterator over the section names | |
Attaches the includes to the main config | |
_fileparser.FileParser |
Returns a new FileParser instance |
_fileparser.Option |
Returns the specified option or None |
file |
Finds and opens the main config file |
list |
Returns the default config file locations |
_fileparser.FileParser |
Load and parse main config file |
str |
Returns the transformed option |
Processes the pre section options | |
Returns the options of the specified section | |
Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
helper for pickle... | |
helper for pickle... | |
x.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... |
Instance Variable Summary | |
---|---|
_fileparser.FileParser |
_parsed : The _fileparser.FileParser instance |
Inherited from BaseConfig | |
str | charset : Charset of the config file |
Class Variable Summary | |
---|---|
list |
__implements__ = [<class 'svnmailer.settings._base.BaseC...
|
str | _CHARSETOPTION : Normalized name of the config_charset option |
str | _INCLUDEOPTION : Normalized name of the include_config option |
Method Details |
---|
__init__(self,
settingsobj)
Initialization |
__delitem__(self,
section)
Removes the specified section
|
__iter__(self)Iterator over the section names
|
_attachIncludes(self, parsed, settingsobj, includes, mainfile)Attaches the includes to the main config
|
_createFileParser(self)Returns a new FileParser instance
|
_extractOption(self, section, option)Returns the specified option or None All options of the section are scanned and transformed
using
|
_findConfig(self, settingsobj)Finds and opens the main config file
|
_getDefaultConfigFiles(self, settingsobj)Returns the default config file locations
|
_loadConfig(self, settingsobj)Load and parse main config file
|
_optionxform(self, option)Returns the transformed option
|
_processPreOptions(self, parsed, settingsobj, name)Processes the pre section options These options are specified before the first section If there aren't any of such options specified, they are looked up in [general] (backwards compat).
|
extractSection(self, section, xform=True, keep=False, check=True)Returns the options of the specified section
|
Instance Variable Details |
---|
_parsedThe_fileparser.FileParser instance
|
Class Variable Details |
---|
__implements__
|
_CHARSETOPTIONNormalized name of the config_charset option
|
_INCLUDEOPTIONNormalized name of the include_config option
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sun Sep 25 20:49:02 2005 | http://epydoc.sf.net |