[Zope3-checkins] CVS: Zope3/src/zope/app/security/grants - principalpermission.py:1.2 rolepermission.py:1.2

Jim Fulton jim@zope.com
Wed, 28 May 2003 11:46:41 -0400


Update of /cvs-repository/Zope3/src/zope/app/security/grants
In directory cvs.zope.org:/tmp/cvs-serv11310/src/zope/app/security/grants

Modified Files:
	principalpermission.py rolepermission.py 
Log Message:
Deprecated zope.proxy.introspection. Just use zope.proxy.


=== Zope3/src/zope/app/security/grants/principalpermission.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/security/grants/principalpermission.py:1.1	Thu Dec 26 13:49:07 2002
+++ Zope3/src/zope/app/security/grants/principalpermission.py	Wed May 28 11:46:10 2003
@@ -90,7 +90,7 @@
         # need to remove security proxies here, otherwise we enter
         # an infinite loop, becuase checking security depends on
         # getting PrincipalPermissions.
-        from zope.proxy.introspection import removeAllProxies
+        from zope.proxy import removeAllProxies
         context = removeAllProxies(self._context)
         annotations = getAdapter(context, IAnnotations)
         try:


=== Zope3/src/zope/app/security/grants/rolepermission.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/security/grants/rolepermission.py:1.1	Thu Dec 26 13:49:07 2002
+++ Zope3/src/zope/app/security/grants/rolepermission.py	Wed May 28 11:46:10 2003
@@ -104,7 +104,7 @@
         # need to remove security proxies here, otherwise we enter
         # an infinite loop, becuase checking security depends on
         # getting RolePermissions.
-        from zope.proxy.introspection import removeAllProxies
+        from zope.proxy import removeAllProxies
         context = removeAllProxies(self._context)
         annotations = getAdapter(context, IAnnotations)
         try: