There's a recent entry in the 2.6 branch from fred stating:
types don't have a guaranteed truth value, so check that it isn't None
the diff is here: http://cvs.zope.org/Zope/lib/python/ZTUtils/Zope.py.diff?r1=126.96.36.199&r2=188.8.131.52&only_with_tag=Zope-2_6-branch
This same fix needs to be applied to at least the 2.7 branch and HEAD, probaly other branches too, but I haven't checked.
The 2.7 branch and the head are the only two other "active" branches; I just checked in a fix which removes the "pre-2.3 compatibility" code.
Should I file a bug for this?
Nope, at least not this time. Next time you could follow up to 1203, noting the problem.
Tres. -- =============================================================== Tres Seaver [EMAIL PROTECTED] Zope Corporation "Zope Dealers" http://www.zope.com
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce