[Zodb-checkins] CVS: ZODB3/ZODB - BaseStorage.py:1.25
Jeremy Hylton
jeremy@zope.com
Sun, 20 Oct 2002 13:02:38 -0400
Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv22876/ZODB
Modified Files:
BaseStorage.py
Log Message:
Sync up with new signature of restore().
XXX This creates a new requirement: If a store implements restore(),
it's iterator() implementation must support the data_txn option.
=== ZODB3/ZODB/BaseStorage.py 1.24 => 1.25 ===
--- ZODB3/ZODB/BaseStorage.py:1.24 Sat Sep 28 05:16:46 2002
+++ ZODB3/ZODB/BaseStorage.py Sun Oct 20 13:02:37 2002
@@ -281,7 +281,8 @@
oid=r.oid
if verbose: print `oid`, r.version, len(r.data)
if restoring:
- self.restore(oid, r.serial, r.data, r.version, transaction)
+ self.restore(oid, r.serial, r.data, r.version,
+ r.data_txn, transaction)
else:
pre=preget(oid, None)
s=self.store(oid, pre, r.data, r.version, transaction)