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

Jim Fulton jim at zope.com
Wed Apr 7 10:37:18 EDT 2004


Update of /cvs-repository/Zope3/src/zope/publisher
In directory cvs.zope.org:/tmp/cvs-serv20682/src/zope/publisher

Modified Files:
	http.py 
Log Message:
Fixed a broken and untested repr.  I thin kit was broken before I
broke it, but, perhaps, not so badly. :)


=== Zope3/src/zope/publisher/http.py 1.50 => 1.51 ===
--- Zope3/src/zope/publisher/http.py:1.50	Tue Apr  6 16:58:18 2004
+++ Zope3/src/zope/publisher/http.py	Wed Apr  7 10:36:47 2004
@@ -546,8 +546,8 @@
 
     def __repr__(self):
         # Returns a *short* string.
-        return '<%s instance URL=%s>' % (
-            str(self.__class__), id(self), `self.URL`)
+        return '<%s.%s instance URL=%s>' % (
+            self.__class__.__module__, self.__class__.__name__, str(self.URL))
 
     def get(self, key, default=None):
         'See Interface.Common.Mapping.IReadMapping'




More information about the Zope3-Checkins mailing list