[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Traversing - ParameterParsing.py:1.3

Steve Alexander steve@cat-box.net
Mon, 28 Oct 2002 06:34:04 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/Traversing
In directory cvs.zope.org:/tmp/cvs-serv26047/lib/python/Zope/App/Traversing

Modified Files:
	ParameterParsing.py 
Log Message:
changed a name[:2]=='@@' to name.startswith('@@')


=== Zope3/lib/python/Zope/App/Traversing/ParameterParsing.py 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/App/Traversing/ParameterParsing.py:1.2	Mon Jun 10 19:28:17 2002
+++ Zope3/lib/python/Zope/App/Traversing/ParameterParsing.py	Mon Oct 28 06:34:04 2002
@@ -34,7 +34,7 @@
     """
 
     ns = ''
-    if name[:2] == '@@':
+    if name.startswith('@@'):
         ns = 'view'
         name = name[2:]
     else: