[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - componentconfigurl.py:1.4
Albertas Agejevas
alga@codeworks.lt
Fri, 21 Mar 2003 10:29:37 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv2937/src/zope/app/browser/services
Modified Files:
componentconfigurl.py
Log Message:
One more zope.app.traversing renaming: locationAsUnicode() -> canonicalPath().
=== Zope3/src/zope/app/browser/services/componentconfigurl.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/services/componentconfigurl.py:1.3 Tue Dec 31 08:16:15 2002
+++ Zope3/src/zope/app/browser/services/componentconfigurl.py Fri Mar 21 10:29:06 2003
@@ -16,7 +16,7 @@
"""
from zope.component import getView
-from zope.app.traversing import traverse, locationAsUnicode
+from zope.app.traversing import traverse, canonicalPath
__metaclass__ = type
@@ -26,7 +26,7 @@
"""
def componentPath(self):
- return locationAsUnicode(self.context.componentPath)
+ return canonicalPath(self.context.componentPath)
def componentURL(self):
ob = traverse(self.context, self.context.componentPath)