Code

merge Zope Collector #580 fix from ZPT CVS trunk
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 26 Sep 2002 00:54:25 +0000 (00:54 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 26 Sep 2002 00:54:25 +0000 (00:54 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1245 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/cgi/PageTemplates/TALES.py

index 94a61c3698c0e59e9146f61ba315392238c1038a..d29e8a76f51d38024f428fa8d9fa49dd7a86e137 100644 (file)
@@ -19,7 +19,7 @@ Modified for Roundup 0.5 release:
 - changed imports to import from roundup.cgi
 """
 
-__version__='$Revision: 1.2 $'[11:-2]
+__version__='$Revision: 1.3 $'[11:-2]
 
 import re, sys
 from roundup.cgi import ZTUtils
@@ -223,9 +223,7 @@ class Context:
         return v
 
     evaluateValue = evaluate
-
-    def evaluateBoolean(self, expr):
-        return not not self.evaluate(expr)
+    evaluateBoolean = evaluate
 
     def evaluateText(self, expr, None=None):
         text = self.evaluate(expr)