[Zope-Checkins] CVS: Zope/lib/python/AccessControl - ZopeGuards.py:1.14
Shane Hathaway
shane@zope.com
Tue, 17 Dec 2002 15:37:30 -0500
Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv15508/lib/python/AccessControl
Modified Files:
ZopeGuards.py
Log Message:
Reverted pending a security review.
=== Zope/lib/python/AccessControl/ZopeGuards.py 1.13 => 1.14 ===
--- Zope/lib/python/AccessControl/ZopeGuards.py:1.13 Tue Dec 17 13:09:48 2002
+++ Zope/lib/python/AccessControl/ZopeGuards.py Tue Dec 17 15:37:29 2002
@@ -125,10 +125,6 @@
import sys
def guarded_import(mname, globals={}, locals={}, fromlist=None):
-
- # do initial import to give module a chance to make security declarations
- __import__(mname, globals, locals, fromlist)
-
mnameparts = mname.split('.')
firstmname = mnameparts[0]
validate = getSecurityManager().validate