John Schinnerer wrote:
Thanks Tres, looks like zope 2.7.5/python 2.3.5 is triggering a genuine
full-blown error on my code
python:here.sponsors != ''
if the tuple is empty, whereas 2.5.1/2.1.3 must have been returning
some equivalent of boolean 'false' when the tuple was empty.
Now I do this
python: (here.sponsors) and (here.sponsors != '')
and it works again.
The second condition may be redundant now I suppose...?
Yes in earlier Zopes, changing a lines property in the ZMI to empty still
resulted in ('',) instead of (). This has been fixed since.
Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D
+33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -