Commit fe222983 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix transaction's __repr__

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2121 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 4668755a
...@@ -36,10 +36,12 @@ class Transaction(object): ...@@ -36,10 +36,12 @@ class Transaction(object):
def __repr__(self): def __repr__(self):
return "<%s(node=%r, tid=%r, oids=%r, uuids=%r) at %x>" % ( return "<%s(node=%r, tid=%r, oids=%r, uuids=%r) at %x>" % (
self.__class__.__name__,
self._node, self._node,
dump(self._tid), dump(self._tid),
[dump(x) for x in self._oid_list], [dump(x) for x in self._oid_list],
[dump(x) for x in self._uuid_dict], [dump(x) for x in self._uuid_dict],
id(self),
) )
def getNode(self): def getNode(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