[Zope-Checkins] CVS: Zope/lib/python/ZPublisher - HTTPRequest.py:1.62.2.1
Shane Hathaway
shane@cvs.zope.org
Tue, 2 Apr 2002 17:58:21 -0500
Update of /cvs-repository/Zope/lib/python/ZPublisher
In directory cvs.zope.org:/tmp/cvs-serv30668
Modified Files:
Tag: shane-better-tracebacks-branch
HTTPRequest.py
Log Message:
Gave HTTPRequests a decent __repr__().
=== Zope/lib/python/ZPublisher/HTTPRequest.py 1.62 => 1.62.2.1 ===
return result+"</table>"
- __repr__=__str__
+ def __repr__(self):
+ return "<%s, URL=%s>" % (self.__class__.__name__, self['URL'])
def text(self):
result="FORM\n\n"