Log message for revision 73151:
  Collector #2289: restored compatibility with PTProfiler
  

Changed:
  U   Zope/trunk/lib/python/Products/PageTemplates/ZRPythonExpr.py

-=-
Modified: Zope/trunk/lib/python/Products/PageTemplates/ZRPythonExpr.py
===================================================================
--- Zope/trunk/lib/python/Products/PageTemplates/ZRPythonExpr.py        
2007-03-12 16:46:01 UTC (rev 73150)
+++ Zope/trunk/lib/python/Products/PageTemplates/ZRPythonExpr.py        
2007-03-12 17:23:13 UTC (rev 73151)
@@ -28,7 +28,7 @@
     _globals['__debug__' ] = __debug__
 
     def __init__(self, name, expr, engine):
-        self.text = text = expr.strip().replace('\n', ' ')
+        self.text = self.expr = text = expr.strip().replace('\n', ' ')
 
         # Unicode expression are not handled properly by RestrictedPython
         # We convert the expression to UTF-8 (ajung)

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to