Message178588
configparser.ConfigParser.clean() always fails:
>>> cfg = configparser.ConfigParser()
>>> if not hasattr(configparser.ConfigParser, 'clear'):
... configparser.ConfigParser.clear = configparser_clear_compat
>>> cfg.clear() #doctest: +ELLIPSIS
Traceback (most recent call last):
...
ValueError: Cannot remove the default section.
configparser.ConfigParser.update() overwrites all sections except DEFAULT instead of updating them.
See attached test file- |
|
Date |
User |
Action |
Args |
2012-12-30 17:12:53 | wolfmanx | set | recipients:
+ wolfmanx |
2012-12-30 17:12:53 | wolfmanx | set | messageid: <1356887573.11.0.450967441519.issue16820@psf.upfronthosting.co.za> |
2012-12-30 17:12:53 | wolfmanx | link | issue16820 messages |
2012-12-30 17:12:53 | wolfmanx | create | |
|