ConfigParser does not substitute
Martin P Holland
newsbunny at noether.freeserve.co.uk
Wed May 3 11:44:34 EDT 2000
On Wed, 03 May 2000 12:48:16 +0200,
Berthold Hoellmann <hoel at GermanLloyd.org> wrote:
>Why does ConfigParser does not resolve my references.
Look in the code for the get method of ConfigParser.
It seems to me that:
if not string.find(value, "%("):
should really be
if string.find(value,"%(")!=-1:
>DK_1: (group == %(deck)s )
BTW in the Python 1.5.1 version of this module _ was not
allowed in options, so avoid it if you plan to distribute
your app.
atb
Martin
--
http://www.noether.freeserve.co.uk
http://www.kppp-archive.freeserve.co.uk
More information about the Python-list
mailing list