[Zope3-checkins] CVS: Zope3/src/zope/app/traversing - __init__.py:1.19
Steve Alexander
steve@cat-box.net
Sat, 12 Apr 2003 06:47:47 -0400
Update of /cvs-repository/Zope3/src/zope/app/traversing
In directory cvs.zope.org:/tmp/cvs-serv10944/src/zope/app/traversing
Modified Files:
__init__.py
Log Message:
=== Zope3/src/zope/app/traversing/__init__.py 1.18 => 1.19 ===
--- Zope3/src/zope/app/traversing/__init__.py:1.18 Tue Apr 8 14:26:34 2003
+++ Zope3/src/zope/app/traversing/__init__.py Sat Apr 12 06:47:46 2003
@@ -46,7 +46,7 @@
"""
if not args:
- return unicode(path)
+ return u'' + path
if path != '/' and path.endswith('/'):
raise ValueError('path must not end with a "/": %s' % path)
if path != '/':
@@ -201,7 +201,7 @@
else:
path = getPath(path_or_object)
- path = unicode(path)
+ path = u'' + path
# Special case for the root path.
if path == u'/':