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

Changed:
  U   Zope/branches/2.10/doc/CHANGES.txt
  U   Zope/branches/2.10/lib/python/Products/PageTemplates/ZRPythonExpr.py

-=-
Modified: Zope/branches/2.10/doc/CHANGES.txt
===================================================================
--- Zope/branches/2.10/doc/CHANGES.txt  2007-03-12 17:23:33 UTC (rev 73152)
+++ Zope/branches/2.10/doc/CHANGES.txt  2007-03-12 17:24:50 UTC (rev 73153)
@@ -8,6 +8,8 @@
 
     Bugs fixed
 
+      - Collector #2289: restored compatibility with PTProfiler
+    
       - No longer opens a zodb connection every time a ProductDispatcher
         is looked up.
 

Modified: Zope/branches/2.10/lib/python/Products/PageTemplates/ZRPythonExpr.py
===================================================================
--- Zope/branches/2.10/lib/python/Products/PageTemplates/ZRPythonExpr.py        
2007-03-12 17:23:33 UTC (rev 73152)
+++ Zope/branches/2.10/lib/python/Products/PageTemplates/ZRPythonExpr.py        
2007-03-12 17:24:50 UTC (rev 73153)
@@ -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