[Zope3-checkins] CVS: Zope3/src/zope/app/event - __init__.py:1.10 globalservice.py:1.8 subs.py:1.13
Martijn Faassen
m.faassen@vet.uu.nl
Thu, 1 May 2003 15:36:16 -0400
Update of /cvs-repository/Zope3/src/zope/app/event
In directory cvs.zope.org:/tmp/cvs-serv30407/zope/app/event
Modified Files:
__init__.py globalservice.py subs.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/event/__init__.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/event/__init__.py:1.9 Sat Mar 8 16:45:59 2003
+++ Zope3/src/zope/app/event/__init__.py Thu May 1 15:35:15 2003
@@ -20,7 +20,7 @@
from zope.component import getService
from zope.app.services.servicenames import EventPublication
from zope.app.interfaces.event import IEvent
-from zope.app.event.globalservice import eventPublisher, checkEventType
+from zope.app.event.globalservice import eventPublisher
def getEventService(context): # the "publish" service
return getService(context, EventPublication)
=== Zope3/src/zope/app/event/globalservice.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/event/globalservice.py:1.7 Thu Apr 10 05:29:08 2003
+++ Zope3/src/zope/app/event/globalservice.py Thu May 1 15:35:15 2003
@@ -20,14 +20,12 @@
__metaclass__ = type
from zope.interface.type import TypeRegistry
-from zope.component import getAdapter, queryAdapter
+from zope.component import queryAdapter
from zope.exceptions import NotFoundError
from zope.proxy.introspection import removeAllProxies
from zope.app.interfaces.event import IEvent, ISubscriber, ISubscribingAware
from zope.app.interfaces.event import IGlobalSubscribable, IPublisher
-
-from zope.app.component.metaconfigure import resolveInterface
from zope.configuration.action import Action
=== Zope3/src/zope/app/event/subs.py 1.12 => 1.13 ===
--- Zope3/src/zope/app/event/subs.py:1.12 Fri Mar 21 10:29:07 2003
+++ Zope3/src/zope/app/event/subs.py Thu May 1 15:35:15 2003
@@ -33,7 +33,6 @@
from zope.app.interfaces.event import ISubscribingAware
from zope.component import getService, queryService, getAdapter, queryAdapter
-from zope.component import ComponentLookupError
from zope.app.services.servicenames import HubIds
from zope.app.services.type import PersistentTypeRegistry
from cPickle import dumps, PicklingError