Definition at line 56 of file betterConfigParser.py.
def betterConfigParser.BetterConfigParser.__init__ |
( |
|
self | ) |
|
def betterConfigParser.BetterConfigParser.__updateDict |
( |
|
self, |
|
|
|
dictionary, |
|
|
|
section |
|
) |
| |
|
private |
def betterConfigParser.BetterConfigParser.checkInput |
( |
|
self, |
|
|
|
section, |
|
|
|
knownSimpleOptions = [] , |
|
|
|
knownKeywords = [] , |
|
|
|
ignoreOptions = [] |
|
) |
| |
Method which checks, if the given options in `section` are in the
list of `knownSimpleOptions` or match an item of `knownKeywords`.
This is basically a check for typos and wrong parameters.
Arguments:
- `section`: Section of a configuration file
- `knownSimpleOptions`: List of allowed simple options in `section`.
- `knownKeywords`: List of allowed keywords in `section`.
Definition at line 166 of file betterConfigParser.py.
def betterConfigParser.BetterConfigParser.exists |
( |
|
self, |
|
|
|
section, |
|
|
|
option |
|
) |
| |
def betterConfigParser.BetterConfigParser.getAlignments |
( |
|
self | ) |
|
def betterConfigParser.BetterConfigParser.getCompares |
( |
|
self | ) |
|
def betterConfigParser.BetterConfigParser.getGeneral |
( |
|
self | ) |
|
def betterConfigParser.BetterConfigParser.getResultingSection |
( |
|
self, |
|
|
|
section, |
|
|
|
defaultDict = {} , |
|
|
|
demandPars = [] |
|
) |
| |
def betterConfigParser.BetterConfigParser.items |
( |
|
self, |
|
|
|
section, |
|
|
|
raw = False , |
|
|
|
vars = None |
|
) |
| |
def betterConfigParser.BetterConfigParser.optionxform |
( |
|
self, |
|
|
|
optionstr |
|
) |
| |
def betterConfigParser.BetterConfigParser.set |
( |
|
self, |
|
|
|
section, |
|
|
|
option, |
|
|
|
value = None |
|
) |
| |
def betterConfigParser.BetterConfigParser.write |
( |
|
self, |
|
|
|
fp |
|
) |
| |
betterConfigParser.BetterConfigParser._optcre |
|
private |
tuple betterConfigParser.BetterConfigParser.OPTCRE_VALIDATION |
|
static |