[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/MappingStorage.py Removed loadEx and added missing cleanup and close methods.

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


Log message for revision 74840:
  Removed loadEx and added missing cleanup and close methods.
  

Changed:
  U   ZODB/trunk/src/ZODB/MappingStorage.py

-=-
Modified: ZODB/trunk/src/ZODB/MappingStorage.py
===================================================================
--- ZODB/trunk/src/ZODB/MappingStorage.py	2007-04-26 23:20:17 UTC (rev 74839)
+++ ZODB/trunk/src/ZODB/MappingStorage.py	2007-04-26 23:20:20 UTC (rev 74840)
@@ -63,11 +63,6 @@
         finally:
             self._lock_release()
 
-    def loadEx(self, oid, version):
-        # Since we don't support versions, just tack the empty version
-        # string onto load's result.
-        return self.load(oid, version) + ("",)
-
     def getTid(self, oid):
         self._lock_acquire()
         try:
@@ -139,3 +134,9 @@
                      (u64(oid), TimeStamp(r[:8]), repr(r[8:])))
 
         return '\n'.join(o)
+
+    def cleanup(self):
+        pass
+
+    def close(self):
+        pass



More information about the Zodb-checkins mailing list