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

Ulrich Eck ueck@net-labs.de
Thu, 10 Apr 2003 11:05:36 -0400


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

Modified Files:
	control.py 
Log Message:
objecthub has no method getLocation, changed that line to getPath


=== Zope3/src/zope/app/browser/index/text/control.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/browser/index/text/control.py:1.8	Fri Mar 21 10:29:06 2003
+++ Zope3/src/zope/app/browser/index/text/control.py	Thu Apr 10 11:05:36 2003
@@ -80,7 +80,7 @@
             yield self._cookInfo(hubid, score)
 
     def _cookInfo(self, hubid, score):
-        location = canonicalPath(self.hub.getLocation(hubid))
+        location = canonicalPath(self.hub.getPath(hubid))
         scoreLabel = "%.1f%%" % (100.0 * score)
         result = {
             'location': location,