[ZPT] CVS: Zope27/lib/python/Products/PageTemplates - TALES.py:1.30.8.1

Fred L. Drake, Jr. fdrake@acm.org
Tue, 20 Aug 2002 16:17:33 -0400


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

Modified Files:
      Tag: Zope-2_7-development-branch
	TALES.py 
Log Message:
Remove unnecessary aliasing.  Python 2.3 issues a SyntaxWarning when binding
to the name None.


=== Zope27/lib/python/Products/PageTemplates/TALES.py 1.30 => 1.30.8.1 ===
--- Zope27/lib/python/Products/PageTemplates/TALES.py:1.30	Fri May 24 11:43:56 2002
+++ Zope27/lib/python/Products/PageTemplates/TALES.py	Tue Aug 20 16:17:02 2002
@@ -222,7 +222,7 @@
     def evaluateBoolean(self, expr):
         return not not self.evaluate(expr)
 
-    def evaluateText(self, expr, None=None):
+    def evaluateText(self, expr):
         text = self.evaluate(expr)
         if text is Default or text is None:
             return text