From 7520e02f86cafa83c87f69a0c671a583aae14368 Mon Sep 17 00:00:00 2001 From: richard Date: Thu, 26 Sep 2002 00:54:25 +0000 Subject: [PATCH] merge Zope Collector #580 fix from ZPT CVS trunk git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1245 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/cgi/PageTemplates/TALES.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/roundup/cgi/PageTemplates/TALES.py b/roundup/cgi/PageTemplates/TALES.py index 94a61c3..d29e8a7 100644 --- a/roundup/cgi/PageTemplates/TALES.py +++ b/roundup/cgi/PageTemplates/TALES.py @@ -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) -- 2.30.2