Averroes / iniparse

Other
0 stars 0 forks source link

Unable to set values in DEFAULT section #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Using the INIConfig interface (ini iniparse 0.4), it does not appear to be 
possible to set values in the DEFAULT section.

The naive approach has no effect:

>>> import iniparse
>>> cfg = iniparse.INIConfig()
>>> cfg.DEFAULT.myoption = 'myvalue'
>>> print cfg

>>>

It is not clear from the documentation or examples how to deal with this 
situation.

Original issue reported on code.google.com by lar...@gmail.com on 12 Sep 2014 at 1:40