[Neo-report] r2093 gregory - /trunk/neo/connection.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri May 7 17:00:46 CEST 2010


Author: gregory
Date: Fri May  7 17:00:45 2010
New Revision: 2093

Log:
Display full connection informations in node representation.

Modified:
    trunk/neo/connection.py

Modified: trunk/neo/connection.py
==============================================================================
--- trunk/neo/connection.py [iso-8859-1] (original)
+++ trunk/neo/connection.py [iso-8859-1] Fri May  7 17:00:45 2010
@@ -281,11 +281,11 @@
 
     def __repr__(self):
         address = self.addr and '%s:%d' % self.addr or '?'
-        return '<%s(uuid=%s, address=%s, closed=%s) at %x>' % (
+        return '<%s(uuid=%s, address=%s, connection=%s) at %x>' % (
             self.__class__.__name__,
             dump(self.getUUID()),
             address,
-            self.isClosed(),
+            self._connection,
             id(self),
         )
 





More information about the Neo-report mailing list