[Zope-Checkins] CVS: Zope/lib/python/ZPublisher - HTTPRequest.py:1.61.6.11
Martijn Pieters
mj@zope.com
Thu, 1 Aug 2002 14:38:42 -0400
Update of /cvs-repository/Zope/lib/python/ZPublisher
In directory cvs.zope.org:/tmp/cvs-serv5311/lib/python/ZPublisher
Modified Files:
Tag: Zope-2_5-branch
HTTPRequest.py
Log Message:
Fix for collector #500: Form variable names ending in dot and asking to be
converted to a tuple triggered an UnboundLocalError.
=== Zope/lib/python/ZPublisher/HTTPRequest.py 1.61.6.10 => 1.61.6.11 ===
k=key.split( ".")
k,attr='.'.join(k[:-1]), k[-1]
a = attr
+ new = ''
# remove any type_names in the attr
while not a=='':
a=a.split( ":")