Log message for revision 40986:
  Harden REQUEST __repr__.
  

Changed:
  U   Zope/trunk/lib/python/ZPublisher/HTTPRequest.py

-=-
Modified: Zope/trunk/lib/python/ZPublisher/HTTPRequest.py
===================================================================
--- Zope/trunk/lib/python/ZPublisher/HTTPRequest.py     2005-12-22 18:26:50 UTC 
(rev 40985)
+++ Zope/trunk/lib/python/ZPublisher/HTTPRequest.py     2005-12-22 18:27:11 UTC 
(rev 40986)
@@ -1293,7 +1293,7 @@
         return result+"</table>"
 
     def __repr__(self):
-        return "<%s, URL=%s>" % (self.__class__.__name__, self['URL'])
+        return "<%s, URL=%s>" % (self.__class__.__name__, self.get('URL'))
 
     def text(self):
         result="FORM\n\n"

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to