[Zope-Checkins] CVS: Zope/lib/python/Products/PageTemplates - TALES.py:1.38.2.2

Godefroid Chapelle cvs-admin at zope.org
Tue Dec 2 10:37:43 EST 2003


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

Modified Files:
      Tag: Zope-2_7-branch
	TALES.py 
Log Message:
fix for bug with non ascii old-style strings -- thanks to tesdal


=== Zope/lib/python/Products/PageTemplates/TALES.py 1.38.2.1 => 1.38.2.2 ===
--- Zope/lib/python/Products/PageTemplates/TALES.py:1.38.2.1	Fri Nov 21 07:17:38 2003
+++ Zope/lib/python/Products/PageTemplates/TALES.py	Tue Dec  2 10:37:42 2003
@@ -229,7 +229,7 @@
         if isinstance(text, unicode):
             return text
         else:
-            return unicode(text)
+            return ustr(text)
 
     def evaluateStructure(self, expr):
         return self.evaluate(expr)




More information about the Zope-Checkins mailing list