[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher/Browser - BrowserRequest.py:1.1.4.8

Guido van Rossum guido@python.org
Thu, 28 Mar 2002 20:55:48 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/Publisher/Browser
In directory cvs.zope.org:/tmp/cvs-serv27462

Modified Files:
      Tag: Zope-3x-branch
	BrowserRequest.py 
Log Message:
Fix two typos that were introduced by srichter in rev 1.1.4.6: 'l' and
'lov' should both be 'loc'.  That checkin must've been a mistake; it
did nothing but reintroduce the two typos that Jim fixed in rev
1.1.4.2!  Probably a merge gone wrong.

There's no unit test for this!!!  I don't understand the code well
enough to add one.  Stephan?  You're our only hope!


=== Zope3/lib/python/Zope/Publisher/Browser/BrowserRequest.py 1.1.4.7 => 1.1.4.8 ===
                             flags=flags|SEQUENCE
                         elif (type_name == 'method' or type_name == 'action'):
-                            if l: meth=key
+                            if loc: meth=key
                             else: meth=item
                         elif (type_name == 'default_method' or type_name == \
                               'default_action'):
                             if not meth:
-                                if lov: meth=key
+                                if loc: meth=key
                                 else: meth=item
                         elif type_name == 'default':
                             flags=flags|DEFAULT