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

Barry Warsaw barry@wooz.org
Thu, 3 Apr 2003 16:50:18 -0500


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

Modified Files:
	interfaces.py 
Log Message:
reorder attributes to keep data and refs together


=== Zope3/src/zodb/storage/interfaces.py 1.13 => 1.14 ===
--- Zope3/src/zodb/storage/interfaces.py:1.13	Fri Mar 21 12:18:53 2003
+++ Zope3/src/zodb/storage/interfaces.py	Thu Apr  3 16:50:18 2003
@@ -268,6 +268,8 @@
     serial = Attribute("serial", "revision serial number")
     version = Attribute("version", "version string")
     data = Attribute("data", "data record")
+    refs = Attribute("refs",
+                     """list of object ids referred to by this object""")
     data_txn = Attribute("data_txn",
                          """id of previous transaction or None
 
@@ -276,8 +278,6 @@
                          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."""