[Neo-report] r2043 vincent - /trunk/neo/node.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Apr 30 15:42:46 CEST 2010
Author: vincent
Date: Fri Apr 30 15:42:43 2010
New Revision: 2043
Log:
Display instance id in Node.__repr__ .
Modified:
trunk/neo/node.py
Modified: trunk/neo/node.py
==============================================================================
--- trunk/neo/node.py [iso-8859-1] (original)
+++ trunk/neo/node.py [iso-8859-1] Fri Apr 30 15:42:43 2010
@@ -116,11 +116,12 @@
return self._connection is not None and self._uuid is not None
def __repr__(self):
- return '<%s(uuid=%s, address=%s, state=%s)>' % (
+ return '<%s(uuid=%s, address=%s, state=%s) at %x>' % (
self.__class__.__name__,
dump(self._uuid),
self._address,
self._state,
+ id(self),
)
def isMaster(self):
More information about the Neo-report
mailing list