Commit 7bff18e3 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Display full connection informations in node representation.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2093 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 1d645dda
...@@ -281,11 +281,11 @@ class BaseConnection(object): ...@@ -281,11 +281,11 @@ class BaseConnection(object):
def __repr__(self): def __repr__(self):
address = self.addr and '%s:%d' % self.addr or '?' 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__, self.__class__.__name__,
dump(self.getUUID()), dump(self.getUUID()),
address, address,
self.isClosed(), self._connection,
id(self), id(self),
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment