[z3-checkins] r9795 - z3/Five/branch/zope28-integration
efge at codespeak.net
efge at codespeak.net
Tue Mar 15 15:54:34 MET 2005
Author: efge
Date: Tue Mar 15 15:54:33 2005
New Revision: 9795
Modified:
z3/Five/branch/zope28-integration/monkey.py
Log:
Merge from trunk 9793:9794:
Remove useless monkey-patch now that we use Zope 2 ZPT and TALES.
Modified: z3/Five/branch/zope28-integration/monkey.py
==============================================================================
--- z3/Five/branch/zope28-integration/monkey.py (original)
+++ z3/Five/branch/zope28-integration/monkey.py Tue Mar 15 15:54:33 2005
@@ -28,16 +28,3 @@
HTTPRequest.getPresentationSkin = getPresentationSkin
HTTPRequest.setPresentationSkin = setPresentationSkin
-
- from RestrictedPython.Utilities import test
- from zope.tales.pythonexpr import PythonExpr
-
- def __call__(self, econtext):
- __traceback_info__ = self.text
- builtins = __builtins__.copy()
- builtins['test'] = test
-
- vars = self._bind_used_names(econtext, builtins)
- return eval(self._code, vars)
-
- PythonExpr.__call__ = __call__
More information about the z3-checkins
mailing list