[Zope3-checkins] CVS: Zope3/src/zope/app/traversing - __init__.py:1.12
Albertas Agejevas
alga@codeworks.lt
Fri, 21 Mar 2003 10:29:41 -0500
Update of /cvs-repository/Zope3/src/zope/app/traversing
In directory cvs.zope.org:/tmp/cvs-serv2937/src/zope/app/traversing
Modified Files:
__init__.py
Log Message:
One more zope.app.traversing renaming: locationAsUnicode() -> canonicalPath().
=== Zope3/src/zope/app/traversing/__init__.py 1.11 => 1.12 ===
--- Zope3/src/zope/app/traversing/__init__.py:1.11 Wed Mar 19 14:57:33 2003
+++ Zope3/src/zope/app/traversing/__init__.py Fri Mar 21 10:29:10 2003
@@ -22,7 +22,7 @@
__all__ = ['traverse', 'traverseName', 'objectName', 'getParent',
'getParents', 'getPath', 'getRoot', 'locationAsTuple',
- 'locationAsUnicode']
+ 'canonicalPath']
_marker = object()
@@ -149,7 +149,7 @@
" start: %s" % repr(t))
return t
-def locationAsUnicode(location):
+def canonicalPath(location):
"""Given a location as a unicode or ascii string or as a tuple of
unicode or ascii strings, returns the location as a slash-separated
unicode string.