[Zodb-checkins] SVN: ZODB/branches/tseaver-python_picklecache-2/src/persistent/picklecache.py Move to match order defined in IPickleCache.

Tres Seaver tseaver at palladion.com
Tue Sep 27 12:31:55 EST 2011


Log message for revision 122975:
  Move to match order defined in IPickleCache.

Changed:
  U   ZODB/branches/tseaver-python_picklecache-2/src/persistent/picklecache.py

-=-
Modified: ZODB/branches/tseaver-python_picklecache-2/src/persistent/picklecache.py
===================================================================
--- ZODB/branches/tseaver-python_picklecache-2/src/persistent/picklecache.py	2011-09-27 17:31:06 UTC (rev 122974)
+++ ZODB/branches/tseaver-python_picklecache-2/src/persistent/picklecache.py	2011-09-27 17:31:54 UTC (rev 122975)
@@ -227,6 +227,11 @@
                             ))
         return result
 
+    def update_object_size_estimation(self, oid, new_size):
+        """ See IPickleCache.
+        """
+        pass
+
     cache_size = property(lambda self: self.target_size)
     cache_drain_resistance = property(lambda self: self.drain_resistance)
     cache_non_ghost_count = property(lambda self: self.non_ghost_count)
@@ -255,6 +260,3 @@
                     break
         elif oid in self.persistent_classes:
             del self.persistent_classes[oid]
-
-    def update_object_size_estimation(self, oid, new_size):
-        pass



More information about the Zodb-checkins mailing list