En Wed, 27 Jun 2007 01:35:27 -0300, O.R.Senthil Kumaran  
<[EMAIL PROTECTED]> escribió:

> * Gabriel Genellina <[EMAIL PROTECTED]> [2007-06-25 22:26:47]:
>
>> And how would you detect a multiline value?
>> Because it is not a section nor looks like a new option?
>>
>> I'd try using this:
>>
>> if not self.SECTCRE.match(line) and not self.OPTCRE.match(line) and
>> cursect is not None and optname:
>
> Thanks Gabriel, this suggestion worked and helped me understand the
> ConfigParser a bit better as well.

Good to know it worked - I was not entirely sure it would :)

-- 
Gabriel Genellina
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to