[Zope3-checkins] CVS: Zope3/src/zope/app/security - zopepolicy.py:1.8
Martijn Faassen
m.faassen@vet.uu.nl
Thu, 1 May 2003 15:36:02 -0400
Update of /cvs-repository/Zope3/src/zope/app/security
In directory cvs.zope.org:/tmp/cvs-serv30407/zope/app/security
Modified Files:
zopepolicy.py
Log Message:
Importgeddon part the second. Removed unused imports throughout the
source tree. This should have taken care of most unused imports
in Zope 3. :)
=== Zope3/src/zope/app/security/zopepolicy.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/security/zopepolicy.py:1.7 Thu Mar 20 07:00:04 2003
+++ Zope3/src/zope/app/security/zopepolicy.py Thu May 1 15:35:31 2003
@@ -17,25 +17,14 @@
"""
__version__='$Revision$'[11:-2]
-from zope.component import queryAdapter, getService
-from zope.app.services.servicenames import Authentication
+from zope.component import queryAdapter
from zope.proxy.context import ContainmentIterator
-from zope.exceptions import Unauthorized, Forbidden
-
from zope.security.interfaces import ISecurityPolicy
from zope.security.management import system_user
-from zope.app.interfaces.security \
- import IRolePermissionManager, IRolePermissionMap
-from zope.app.interfaces.security \
- import IPrincipalPermissionManager, IPrincipalPermissionMap
-from zope.app.interfaces.security \
- import IPrincipalRoleManager, IPrincipalRoleMap
-from zope.app.interfaces.security import IRolePermissionManager
-from zope.app.security.registries.permissionregistry import permissionRegistry
-from zope.app.security.registries.principalregistry import principalRegistry
-from zope.app.security.registries.roleregistry import roleRegistry
+from zope.app.interfaces.security import \
+ IRolePermissionMap, IPrincipalPermissionMap, IPrincipalRoleMap
from zope.app.security.grants.principalpermission \
import principalPermissionManager
from zope.app.security.grants.rolepermission import rolePermissionManager