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

Barry Warsaw barry@wooz.org
Tue, 4 Feb 2003 11:41:00 -0500


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

Modified Files:
	interfaces.py 
Log Message:
Remove supportsUndo() and supportsVersions() from the IStorage
interface.  Standard interface assertions should be used instead.

Move pack() from IUndoStorage to IStorage.


=== ZODB4/src/zodb/storage/interfaces.py 1.3 => 1.4 ===
--- ZODB4/src/zodb/storage/interfaces.py:1.3	Tue Feb  4 10:45:26 2003
+++ ZODB4/src/zodb/storage/interfaces.py	Tue Feb  4 11:40:57 2003
@@ -125,12 +125,6 @@
     def isReadOnly():
         pass
 
-    def supportsUndo():
-        pass
-
-    def supportsVersions():
-        pass
-
     def getExtensionMethods():
         pass
 
@@ -146,6 +140,9 @@
     def lastSerial(oid):
         pass
 
+    def pack(t):
+        pass
+
     # two-phase commit
 
     def tpc_begin(txn):
@@ -168,6 +165,7 @@
     def undoInfo(first=0, last=-20, specification=None):
         pass
 
+    # XXX Move undoLog -> _undoLog and remove from interface
     def undoLog(first, last, filter=None):
         pass
 
@@ -182,9 +180,6 @@
 
 class IUndoStorage(Interface):
     
-    def pack(t):
-        pass
-
     def loadSerial(oid, serial):
         pass