[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Traversing - __init__.py:1.10
Steve Alexander
steve@cat-box.net
Tue, 26 Nov 2002 14:00:21 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Traversing
In directory cvs.zope.org:/tmp/cvs-serv9580
Modified Files:
__init__.py
Log Message:
Fixed bug in getPhysicalPathString convenience function.
This function was not being unit tested at all!
That's not good.
=== Zope3/lib/python/Zope/App/Traversing/__init__.py 1.9 => 1.10 ===
--- Zope3/lib/python/Zope/App/Traversing/__init__.py:1.9 Tue Nov 26 08:14:49 2002
+++ Zope3/lib/python/Zope/App/Traversing/__init__.py Tue Nov 26 14:00:21 2002
@@ -113,7 +113,7 @@
raise TypeError, "Not enough context information to traverse"
path = _getAdapter(obj, _IPhysicallyLocatable).getPhysicalPath()
- return '/'.join(path)
+ return locationAsUnicode(path)
def getPhysicalRoot(obj):