[Zope-Checkins] CVS: Zope/lib/python/ZPublisher - HTTPRequest.py:1.61.6.2
Tres Seaver
tseaver@zope.com
Fri, 12 Apr 2002 12:08:16 -0400
Update of /cvs-repository/Zope/lib/python/ZPublisher
In directory cvs.zope.org:/tmp/cvs-serv18043/lib/python/ZPublisher
Modified Files:
Tag: Zope-2_5-branch
HTTPRequest.py
Log Message:
- Backport fix for Collector #89.
=== Zope/lib/python/ZPublisher/HTTPRequest.py 1.61.6.1 => 1.61.6.2 ===
def __repr__(self):
+ #return repr( self.__dict__ )
L1 = self.__dict__.items()
L1.sort()
- return ', '.join(
- map(lambda item: "%s: %s" % (item[0], repr(item[1])), L1))
+ return '{%s}' % ', '.join(
+ map(lambda item: "'%s': %s" % (item[0], repr(item[1])), L1))
# Flags
SEQUENCE=1