[Zope3-checkins] CVS: Zope3/src/zope/app/index/text - index.py:1.5
R. Sean Bowman
sean.bowman@acm.org
Wed, 5 Feb 2003 23:31:21 -0500
Update of /cvs-repository/Zope3/src/zope/app/index/text
In directory cvs.zope.org:/tmp/cvs-serv8752/zope/app/index/text
Modified Files:
index.py
Log Message:
changed service names to use strings defined in
zope/component/servicenames.py, changed the name of
ErrorReportingService to ErrorReports
=== Zope3/src/zope/app/index/text/index.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/index/text/index.py:1.4 Mon Dec 30 09:03:08 2002
+++ Zope3/src/zope/app/index/text/index.py Wed Feb 5 23:30:48 2003
@@ -22,6 +22,7 @@
"""
from zope.component import getService, queryAdapter
+from zope.component.servicenames import HubIds
from zope.proxy.context import ContextMethod
from zope.app.interfaces.event import ISubscriber
from zope.exceptions import NotFoundError
@@ -90,7 +91,7 @@
def _getChannel(wrapped_self, channel):
if channel is None:
- channel = getService(wrapped_self, "HubIds")
+ channel = getService(wrapped_self, HubIds)
return channel
_getChannel = ContextMethod(_getChannel)