Trees | Indices | Help |
---|
|
|
|||
ConfigParserError Exception class we're using to expose fatal errors |
|||
RHNOptions Main options class The basic idea is to share the important pieces of information - the component and the configuration tree - across all instances of this class. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Splits a component name (a.b.c) into a list of tuples that can be joined together to determine a config file name Eg. a.b.c --> [(), ('a',), ('a','b'), ('a','b','c')] |
Parse a config line... Returns a tuple (keys, values), or (None, None) if we don't care about this line |
Figure out all components and return them in a tree-like structure {'server', {'server.app':{}, 'server.satellite':{}, 'server.applet':{}, 'server.bugzilla':{}, 'server.iss':{}, 'server.xmlrpc':{}, 'server.xp':{}}, 'web': {}, 'tools': {}} NOTE: this was begging for recursion... I avoided that like the plague |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Mar 4 07:37:11 2020 | http://epydoc.sourceforge.net |