[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher/Browser - BrowserRequest.py:1.1.4.2
Jim Fulton
jim@zope.com
Tue, 26 Mar 2002 17:56:36 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/Publisher/Browser
In directory cvs.zope.org:/tmp/cvs-serv984/lib/python/Zope/Publisher/Browser
Modified Files:
Tag: Zope-3x-branch
BrowserRequest.py
Log Message:
Fixed :method handling broken in the publihser refactoring and added a test.
=== Zope3/lib/python/Zope/Publisher/Browser/BrowserRequest.py 1.1.4.1 => 1.1.4.2 ===
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