[Zope3-checkins] CVS: ZODB4/src/zodb/storage - interfaces.py:1.5.4.2

Barry Warsaw barry@wooz.org
Mon, 10 Mar 2003 14:38:48 -0500


Update of /cvs-repository/ZODB4/src/zodb/storage
In directory cvs.zope.org:/tmp/cvs-serv15305

Modified Files:
      Tag: opaque-pickles-branch
	interfaces.py 
Log Message:
restore(): gets a refs attribute


=== ZODB4/src/zodb/storage/interfaces.py 1.5.4.1 => 1.5.4.2 ===
--- ZODB4/src/zodb/storage/interfaces.py:1.5.4.1	Mon Feb 10 18:13:23 2003
+++ ZODB4/src/zodb/storage/interfaces.py	Mon Mar 10 14:38:45 2003
@@ -118,11 +118,11 @@
         protocol that complicates the return value.  Maybe we can fix that.
         """
 
-    def restore(oid, serial, data, version, prev_txn, txn):
+    def restore(oid, serial, data, version, prev_txn, txn, refs):
         """Store an object with performing consistency checks.
 
         The arguments are the same as store() except for prev_txn.
-        If prev_txn is not None, then prev_txn is the
+        If prev_txn is not None, then prev_txn is the ...?
         """
         pass
 
@@ -242,6 +242,8 @@
                          wrote the data.  The current transaction contains
                          a logical copy of that data.
                          """)
+    refs = Attribute("refs",
+                     """list of object ids referred to by this object""")
 
 class StorageError(POSError):
     """Base class for storage based exceptions."""