Trees | Indices | Help |
|
---|
|
object --+ | ConfigFile
Parses Zenoss's config file format. Example: key value key intvalue key = value key=value key:value key : value
|
|||
_invalidLineType Default line if no other ConfigLines matched. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
_lineTypes = [SettingLine, CommentLine, EmptyLine,]
|
|
@param file file-like-object
|
Parse a config file which has key-value pairs.Returns a list of config line information. This line information can be used to accuratly recreate the config without losing comments or invalid data. |
Write the config out to a file. Takes a new file argument because the input file object often doesn't have write access. @param file file-like-object |
Validate that there are no errors in the config file @throws ConfigError |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1.1812 on Tue Oct 11 12:51:34 2011 | http://epydoc.sourceforge.net |