Commit 8c0e086e authored by Grégory Wisniewski's avatar Grégory Wisniewski

ZODB expect the _extension field to be an empty dict when iterating.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1795 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 05c3a9c0
...@@ -99,7 +99,8 @@ class Iterator(object): ...@@ -99,7 +99,8 @@ class Iterator(object):
user = txn['user_name'] user = txn['user_name']
desc = txn['description'] desc = txn['description']
oid_list = txn['oids'] oid_list = txn['oids']
txn = Transaction(self.app, tid, ' ', user, desc, None, oid_list) extension = {} # as expected by the ZODB
txn = Transaction(self.app, tid, ' ', user, desc, extension, oid_list)
return txn return txn
def __str__(self): def __str__(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