[Zope3-checkins] CVS: Zope3/src/zope/app/component - globalinterfaceservice.py:1.8 hooks.py:1.5 metaconfigure.py:1.10

Martijn Faassen m.faassen@vet.uu.nl
Thu, 1 May 2003 15:36:08 -0400


Update of /cvs-repository/Zope3/src/zope/app/component
In directory cvs.zope.org:/tmp/cvs-serv30407/zope/app/component

Modified Files:
	globalinterfaceservice.py hooks.py metaconfigure.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/component/globalinterfaceservice.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/component/globalinterfaceservice.py:1.7	Wed Apr  9 12:35:06 2003
+++ Zope3/src/zope/app/component/globalinterfaceservice.py	Thu May  1 15:35:07 2003
@@ -16,7 +16,7 @@
 """
 
 from zope.component.exceptions import ComponentLookupError
-
+# XXX some modules still import IInterfaceService here
 from zope.app.interfaces.component.interfaceservice import IInterfaceService
 from zope.app.interfaces.component.globalinterfaceservice \
         import IGlobalInterfaceService


=== Zope3/src/zope/app/component/hooks.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/component/hooks.py:1.4	Sun Mar 23 17:35:38 2003
+++ Zope3/src/zope/app/component/hooks.py	Thu May  1 15:35:07 2003
@@ -16,12 +16,8 @@
 $Id$
 """
 from zope.component.interfaces import IServiceService
-from zope.app.interfaces.services.service \
-     import IServiceManagerContainer
-from zope.component.exceptions import ComponentLookupError
+from zope.app.interfaces.services.service import IServiceManagerContainer
 from zope.proxy.context import getWrapperContainer, ContextWrapper
-from zope.component import getServiceManager
-from zope.component.exceptions import ComponentLookupError
 from zope.component.service import serviceManager
 from zope.proxy.introspection import removeAllProxies
 from zope.security.proxy import trustedRemoveSecurityProxy


=== Zope3/src/zope/app/component/metaconfigure.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/component/metaconfigure.py:1.9	Wed Apr  9 16:51:30 2003
+++ Zope3/src/zope/app/component/metaconfigure.py	Thu May  1 15:35:07 2003
@@ -18,14 +18,10 @@
 from zope.app.services.servicenames import Adapters, Interfaces, Skins
 from zope.app.services.servicenames import Views, Resources, Factories
 from zope.app.component.globalinterfaceservice import interfaceService
-from zope.configuration import namespace
-from zope.interface import Interface
 from zope.configuration.action import Action
-from zope.security.checker \
-     import InterfaceChecker, CheckerPublic, NamesChecker, Checker
+from zope.security.checker import InterfaceChecker, CheckerPublic, Checker
 from zope.app.security.registries.permissionregistry import permissionRegistry
-from zope.component.service \
-     import UndefinedService
+from zope.component.service import UndefinedService
 
 # I prefer the indirection (using getService and getServiceManager vs.
 # directly importing the various services)  not only because it makes