[Zope3-checkins] CVS: Zope3/src/zope/app/services - configuration.py:1.15 hub.py:1.9

Albertas Agejevas alga@codeworks.lt
Fri, 21 Mar 2003 10:29:40 -0500


Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv2937/src/zope/app/services

Modified Files:
	configuration.py hub.py 
Log Message:
One more zope.app.traversing renaming: locationAsUnicode() -> canonicalPath().


=== Zope3/src/zope/app/services/configuration.py 1.14 => 1.15 ===
--- Zope3/src/zope/app/services/configuration.py:1.14	Wed Mar 19 14:57:30 2003
+++ Zope3/src/zope/app/services/configuration.py	Fri Mar 21 10:29:09 2003
@@ -44,7 +44,7 @@
      import Unregistered, Registered, Active
 
 from zope.app.traversing \
-     import getRoot, getPath, traverse, locationAsUnicode
+     import getRoot, getPath, traverse, canonicalPath
 
 
 class ConfigurationStatusProperty:
@@ -332,7 +332,7 @@
         super(NamedComponentConfiguration, self).__init__(name)
 
     def implementationSummary(self):
-        return locationAsUnicode(self.componentPath)
+        return canonicalPath(self.componentPath)
 
     def getComponent(wrapped_self):
         service_manager = getServiceManager(wrapped_self)


=== Zope3/src/zope/app/services/hub.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/services/hub.py:1.8	Wed Mar 19 14:57:30 2003
+++ Zope3/src/zope/app/services/hub.py	Fri Mar 21 10:29:09 2003
@@ -25,9 +25,7 @@
 from zodb.btrees.IOBTree import IOBTree
 from zodb.btrees.OIBTree import OIBTree
 
-#from zope.app.traversing import getPath, canonicalPath
-from zope.app.traversing import getPath
-from zope.app.traversing import locationAsUnicode as canonicalPath
+from zope.app.traversing import getPath, canonicalPath
 
 from zope.component import getAdapter
 from zope.exceptions import NotFoundError