[Zope3-checkins] CVS: Zope3/src/zope/app/traversing - __init__.py:1.20

Steve Alexander steve@cat-box.net
Sat, 12 Apr 2003 06:49:09 -0400


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

Modified Files:
	__init__.py 
Log Message:
Changed calls to unicode() to a concatenation with u'' in the last checkin.
Explained why in this checkin.



=== Zope3/src/zope/app/traversing/__init__.py 1.19 => 1.20 ===
--- Zope3/src/zope/app/traversing/__init__.py:1.19	Sat Apr 12 06:47:46 2003
+++ Zope3/src/zope/app/traversing/__init__.py	Sat Apr 12 06:49:09 2003
@@ -46,6 +46,7 @@
     """
 
     if not args:
+        # Concatenating u'' is much quicker than unicode(path)
         return u'' + path
     if path != '/' and path.endswith('/'):
         raise ValueError('path must not end with a "/": %s' % path)