[Zope-Checkins] CVS: Zope/lib/python/AccessControl -
ZopeGuards.py:1.18
Tres Seaver
tseaver at zope.com
Fri Jan 16 13:19:22 EST 2004
Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv15129/lib/python/AccessControl
Modified Files:
ZopeGuards.py
Log Message:
- Merge fix / test for Collector #1186
=== Zope/lib/python/AccessControl/ZopeGuards.py 1.17 => 1.18 ===
--- Zope/lib/python/AccessControl/ZopeGuards.py:1.17 Thu Jan 15 18:09:03 2004
+++ Zope/lib/python/AccessControl/ZopeGuards.py Fri Jan 16 13:18:51 2004
@@ -18,6 +18,7 @@
import RestrictedPython
from RestrictedPython.Guards import safe_builtins, full_write_guard
from RestrictedPython.Utilities import utility_builtins
+from RestrictedPython.Eval import RestrictionCapableEval
from SecurityManagement import getSecurityManager
from SecurityInfo import secureModule
from SimpleObjectPolicies import Containers, ContainerAssertions
@@ -406,3 +407,5 @@
}
get_safe_globals = _safe_globals.copy
+
+RestrictionCapableEval.globals.update(_safe_globals)
More information about the Zope-Checkins
mailing list