[Neo-report] r2527 gregory - /trunk/neo/client/iterator.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Dec 13 17:16:14 CET 2010
Author: gregory
Date: Mon Dec 13 17:16:14 2010
New Revision: 2527
Log:
Drop version support in iterator.
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] Mon Dec 13 17:16:14 2010
@@ -25,9 +25,8 @@ from neo.client.exception import NEOStor
class Record(BaseStorage.DataRecord):
""" TBaseStorageransaction record yielded by the Transaction object """
- def __init__(self, oid, tid, version, data, prev):
+ def __init__(self, oid, tid, data, prev):
BaseStorage.DataRecord.__init__(self, oid, tid, data, prev)
- self.version = version
def __str__(self):
oid = util.u64(self.oid)
@@ -78,7 +77,7 @@ class Transaction(BaseStorage.Transactio
self.oid_index = 0
raise StopIteration
self.oid_index = oid_index
- record = Record(oid, self.tid, '', data,
+ record = Record(oid, self.tid, data,
self.prev_serial_dict.get(oid))
if next_tid is None:
self.prev_serial_dict.pop(oid, None)
More information about the Neo-report
mailing list