@@ -53,6 +53,10 @@ The config gives access to the configuration.
|
||||
|
||||
Removes the named section.
|
||||
|
||||
.. function:: options(section)
|
||||
|
||||
Returns a list of option names for the given section.
|
||||
|
||||
.. function:: set(section, option[, value])
|
||||
|
||||
Set the given option to the specified value.
|
||||
|
||||
@@ -154,6 +154,7 @@ def update_etc(configfile=os.environ.get('TRYTOND_CONFIG')):
|
||||
has_section = _config.has_section
|
||||
add_section = _config.add_section
|
||||
remove_section = _config.remove_section
|
||||
options = _config.options
|
||||
|
||||
|
||||
def set(section, option, value=None):
|
||||
|
||||
Reference in New Issue
Block a user