[Zope] Bug ? in "lines" properties

Gilles Lenfant gilles@pilotsystems.net
Sat, 26 Oct 2002 01:29:29 +0200


Hi,

lines = somePropertyManager.getProperty('aLinesProp')

... returns always...

['', 'line1', 'line2'...]

I always got an empty string at the start of the list and always need to
change this by...

lines = [l for l in somePropertyManager.getProperty('aLinesProp') if l !=
'']

--Gilles