[Zope3-checkins] CVS: Zope3/src/zope/app/index/text - index.py:1.4

Steve Alexander steve@cat-box.net
Mon, 30 Dec 2002 09:03:39 -0500


Update of /cvs-repository/Zope3/src/zope/app/index/text
In directory cvs.zope.org:/tmp/cvs-serv23914/src/zope/app/index/text

Modified Files:
	index.py 
Log Message:
Large refactoring of the event service.


=== Zope3/src/zope/app/index/text/index.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/index/text/index.py:1.3	Sat Dec 28 12:49:26 2002
+++ Zope3/src/zope/app/index/text/index.py	Mon Dec 30 09:03:08 2002
@@ -23,7 +23,7 @@
 
 from zope.component import getService, queryAdapter
 from zope.proxy.context import ContextMethod
-from zope.interfaces.event import ISubscriber
+from zope.app.interfaces.event import ISubscriber
 from zope.exceptions import NotFoundError
 from zope.textindex.textindexwrapper import TextIndexWrapper
 
@@ -90,7 +90,7 @@
 
     def _getChannel(wrapped_self, channel):
         if channel is None:
-            channel = getService(wrapped_self, "ObjectHub")
+            channel = getService(wrapped_self, "HubIds")
         return channel
     _getChannel = ContextMethod(_getChannel)