[Zope-Checkins]
SVN: Zope/trunk/lib/python/Products/PageTemplates/Expressions.py
removed unnecessary self.evaluate() call inside _handleTest()
Andreas Jung
andreas at andreas-jung.com
Sat Oct 27 05:51:11 EDT 2007
Log message for revision 81128:
removed unnecessary self.evaluate() call inside _handleTest()
(culprit from the last refactoring)
Changed:
U Zope/trunk/lib/python/Products/PageTemplates/Expressions.py
-=-
Modified: Zope/trunk/lib/python/Products/PageTemplates/Expressions.py
===================================================================
--- Zope/trunk/lib/python/Products/PageTemplates/Expressions.py 2007-10-27 00:18:52 UTC (rev 81127)
+++ Zope/trunk/lib/python/Products/PageTemplates/Expressions.py 2007-10-27 09:51:10 UTC (rev 81128)
@@ -208,8 +208,6 @@
def _handleText(self, text, expr):
- text = self.evaluate(expr)
-
if text is self.getDefault() or text is None:
# XXX: should be unicode???
return text
More information about the Zope-Checkins
mailing list