[Neo-report] r1795 gregory - /trunk/neo/client/iterator.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Feb 19 09:46:05 CET 2010
Author: gregory
Date: Fri Feb 19 09:46:04 2010
New Revision: 1795
Log:
ZODB expect the _extension field to be an empty dict when iterating.
Modified:
trunk/neo/client/iterator.py
Modified: trunk/neo/client/iterator.py
==============================================================================
--- trunk/neo/client/iterator.py [iso-8859-1] (original)
+++ trunk/neo/client/iterator.py [iso-8859-1] Fri Feb 19 09:46:04 2010
@@ -99,7 +99,8 @@
user = txn['user_name']
desc = txn['description']
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
def __str__(self):
More information about the Neo-report
mailing list