[Zodb-checkins] CVS: ZODB3/ZODB - DB.py:1.59.2.1

Jim Fulton jim at zope.com
Fri Jan 23 15:44:56 EST 2004


Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv1449/src/ZODB

Modified Files:
      Tag: zope3-zodb3-devel-branch
	DB.py 
Log Message:
Changed the cache minimize and full-sweep calls to no-longer pass
arguments.  Arguments are no longer expected in these calls.


=== ZODB3/ZODB/DB.py 1.59 => 1.59.2.1 ===
--- ZODB3/ZODB/DB.py:1.59	Tue Jan  6 16:44:25 2004
+++ ZODB3/ZODB/DB.py	Fri Jan 23 15:44:25 2004
@@ -228,8 +228,8 @@
         self._connectionMap(f)
         return detail
 
-    def cacheFullSweep(self, value):
-        self._connectionMap(lambda c, v=value: c._cache.full_sweep(v))
+    def cacheFullSweep(self):
+        self._connectionMap(lambda c: c._cache.full_sweep())
 
     def cacheLastGCTime(self):
         m=[0]
@@ -240,8 +240,8 @@
         self._connectionMap(f)
         return m[0]
 
-    def cacheMinimize(self, value):
-        self._connectionMap(lambda c, v=value: c._cache.minimize(v))
+    def cacheMinimize(self):
+        self._connectionMap(lambda c: c._cache.minimize())
 
     def cacheMeanAge(self): return self._cacheMean('cache_mean_age')
     def cacheMeanDeac(self): return self._cacheMean('cache_mean_deac')




More information about the Zodb-checkins mailing list