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

Stephan Richter stephan.richter at tufts.edu
Tue Apr 6 18:49:24 EDT 2004


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? It does not look like it is going to work.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training



More information about the Zope3-Checkins mailing list