[Zope-Checkins] SVN: Zope/branches/2.10/ Collector #2289: restored
compatibility with PTProfiler
Andreas Jung
andreas at andreas-jung.com
Mon Mar 12 13:24:50 EDT 2007
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)
More information about the Zope-Checkins
mailing list