[Zope3-checkins] CVS: Zope3/src/zope/app/browser/index/text - control.py:1.8
Albertas Agejevas
alga@codeworks.lt
Fri, 21 Mar 2003 10:29:36 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/index/text
In directory cvs.zope.org:/tmp/cvs-serv2937/src/zope/app/browser/index/text
Modified Files:
control.py
Log Message:
One more zope.app.traversing renaming: locationAsUnicode() -> canonicalPath().
=== Zope3/src/zope/app/browser/index/text/control.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/browser/index/text/control.py:1.7 Tue Feb 11 21:17:06 2003
+++ Zope3/src/zope/app/browser/index/text/control.py Fri Mar 21 10:29:06 2003
@@ -26,7 +26,7 @@
from zope.publisher.interfaces.browser import IBrowserView
from zope.publisher.browser import BrowserView
-from zope.app.traversing import locationAsUnicode
+from zope.app.traversing import canonicalPath
from zope.app.interfaces.dublincore import IZopeDublinCore
from zope.app.interfaces.index.text import IQueryView
@@ -80,7 +80,7 @@
yield self._cookInfo(hubid, score)
def _cookInfo(self, hubid, score):
- location = locationAsUnicode(self.hub.getLocation(hubid))
+ location = canonicalPath(self.hub.getLocation(hubid))
scoreLabel = "%.1f%%" % (100.0 * score)
result = {
'location': location,