[ZPT] CVS: Zope/lib/python/Products/PageTemplates - TALES.py:1.30

Fred L. Drake, Jr. fdrake@acm.org
Fri, 24 May 2002 11:43:59 -0400


Update of /cvs-repository/Zope/lib/python/Products/PageTemplates
In directory cvs.zope.org:/tmp/cvs-serv29557/Products/PageTemplates

Modified Files:
	TALES.py 
Log Message:
Make the Python value for "default" evaluate as true in a Boolean context.

=== Zope/lib/python/Products/PageTemplates/TALES.py 1.29 => 1.30 ===
 class Default:
     '''Retain Default'''
-    def __nonzero__(self):
-        return 0
 Default = Default()
 
 _marker = []