[Zope3-checkins] CVS: Zope3/src/zope/publisher - http.py:1.50

Jim Fulton jim at zope.com
Wed Apr 7 09:48:50 EDT 2004


Stephan Richter wrote:
> On Tuesday 06 April 2004 16:58, Jim Fulton wrote:
> 
>>Update of /cvs-repository/Zope3/src/zope/publisher
>>In directory cvs.zope.org:/tmp/cvs-serv5922/src/zope/publisher
>>
>>Modified Files:
>>	http.py
>>Log Message:
>>Changed the HTTP repr to not include an address.
>>
>>
>>=== Zope3/src/zope/publisher/http.py 1.49 => 1.50 ===
>>--- Zope3/src/zope/publisher/http.py:1.49	Mon Apr  5 04:16:00 2004
>>+++ Zope3/src/zope/publisher/http.py	Tue Apr  6 16:58:18 2004
>>@@ -546,7 +546,7 @@
>>
>>     def __repr__(self):
>>         # Returns a *short* string.
>>-        return '<%s instance at 0x%x, URL=%s>' % (
>>+        return '<%s instance URL=%s>' % (
>>             str(self.__class__), id(self), `self.URL`)
> 
> 
> Is this tested?

I guess not.

 > It does not look like it is going to work.

Good catch. This was to silence a "future" warning on Fedora.

I'll fix this.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org




More information about the Zope3-Checkins mailing list