|
From: Michael F. <fuz...@vo...> - 2006-12-09 17:40:50
|
Wow ! Fuzzyman Nicola Larosa wrote: > Robin Munn wrote: >> Here's the patch to change the section search behavior. Instead of >> looking only at DEFAULT sections, it will look at the current section, >> then its DEFAULT, then move up to the parent section and repeat the >> process. >> >> This is a patch against a version of configobj.py that has the 3rd >> template interpolation patch (the one in my previous email to this >> thread) already applied. > > Both patches are now included in the SVN repo. Thanks again for them, > Robin, and sorry for not having come round to them sooner. > > > ConfigObj now supports both ConfigParser-style and Template-style > interpolation, with a more consistent search strategy (see docs). > > >> I've also attached the sample .ini file I used for testing, called >> "deepsearch.ini", so you can verify for yourself that the code works. > > I added new tests to configobj_test.py based on this one and on the other > .ini file. > > > A new release containing these changes will have to wait for the further > changes that are coming up in the pipeline. In the meantime, the SVN repo > is reliable and tested. Please let us know any problems these changes may > cause to your config files. > > -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.15/580 - Release Date: 08/12/2006 |