[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/ClientStorage.py Get rid of supportsTransactionalUndo. It's not used any more.

Jim Fulton jim at zope.com
Thu Apr 26 19:19:08 EDT 2007


Log message for revision 74822:
  Get rid of supportsTransactionalUndo. It's not used any more.
  
  Updated doc string for record_iternext.
  
  Renamed getSerial to getTid.
  

Changed:
  U   ZODB/trunk/src/ZEO/ClientStorage.py

-=-
Modified: ZODB/trunk/src/ZEO/ClientStorage.py
===================================================================
--- ZODB/trunk/src/ZEO/ClientStorage.py	2007-04-26 23:19:00 UTC (rev 74821)
+++ ZODB/trunk/src/ZEO/ClientStorage.py	2007-04-26 23:19:06 UTC (rev 74822)
@@ -266,8 +266,7 @@
         self._pickler = None
 
         self._info = {'length': 0, 'size': 0, 'name': 'ZEO Client',
-                      'supportsUndo':0, 'supportsVersions': 0,
-                      'supportsTransactionalUndo': 0}
+                      'supportsUndo':0, 'supportsVersions': 0}
 
         self._tbuf = self.TransactionBufferClass()
         self._db = None
@@ -670,10 +669,6 @@
         """Storage API: return whether we support versions."""
         return self._info['supportsVersions']
 
-    def supportsTransactionalUndo(self):
-        """Storage API: return whether we support transactional undo."""
-        return self._info['supportsTransactionalUndo']
-
     def isReadOnly(self):
         """Storage API: return whether we are in read-only mode."""
         if self._is_read_only:
@@ -732,15 +727,15 @@
         return self._server.history(oid, version, length)
 
     def record_iternext(self, next=None):
-        """Storage API: get the mext database record.
+        """Storage API: get the next database record.
 
         This is part of the conversion-support API.
         """
         return self._server.record_iternext(next)
 
-    def getSerial(self, oid):
+    def getTid(self, oid):
         """Storage API: return current serial number for oid."""
-        return self._server.getSerial(oid)
+        return self._server.getTid(oid)
 
     def loadSerial(self, oid, serial):
         """Storage API: load a historical revision of an object."""



More information about the Zodb-checkins mailing list