Re: ConfigParser, mapping one key to multiple values

2005-06-02 Thread Thomas Guettler
Am Wed, 01 Jun 2005 17:18:42 -0500 schrieb Larry Bates: > I accomplish this by using the following construct > with ConfigParser: > > [sync files] > ignore_001=.*/foodir/.*\.pyc > ignore_002=.*/foodir/.*~ Hi, I found out, that you can have newlines in the value: ignore_regex = .*/CVS(/.*)?

Re: ConfigParser, mapping one key to multiple values

2005-06-01 Thread Larry Bates
I accomplish this by using the following construct with ConfigParser: [sync files] ignore_001=.*/foodir/.*\.pyc ignore_002=.*/foodir/.*~ . . . It may be a workaround, but it works just fine. It is easy to write code to handle this (not tested): section='sync files' ignore_options=[x for x in in