[Zope3-checkins] CVS: Zope3/src/zope/app/browser/index/text - control.py:1.4.4.1

Sidnei da Silva sidnei@x3ng.com.br
Tue, 11 Feb 2003 09:42:03 -0500


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

Modified Files:
      Tag: paris-copypasterename-branch
	control.py 
Log Message:
Updating from HEAD to make sure everything still works before merging

=== Zope3/src/zope/app/browser/index/text/control.py 1.4 => 1.4.4.1 ===
--- Zope3/src/zope/app/browser/index/text/control.py:1.4	Mon Dec 30 09:02:53 2002
+++ Zope3/src/zope/app/browser/index/text/control.py	Tue Feb 11 09:41:01 2003
@@ -21,6 +21,7 @@
 from __future__ import generators
 
 from zope.component import getService, queryAdapter
+from zope.component.servicenames import HubIds
 from zope.exceptions import NotFoundError
 from zope.publisher.interfaces.browser import IBrowserView
 from zope.publisher.browser import BrowserView
@@ -38,7 +39,7 @@
 
     def __init__(self, context, request):
         super(ControlView, self).__init__(context, request)
-        self.hub = getService(context, "HubIds")
+        self.hub = getService(context, HubIds)
 
     def nextBatch(self):
         start = int(self.request.get('start', self.default_start))