[Zope-Checkins] CVS: Zope3/lib/python/ZODB - DB.py:1.46

Jeremy Hylton jeremy@zope.com
Thu, 11 Jul 2002 18:21:03 -0400


Update of /cvs-repository/Zope3/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv5215

Modified Files:
	DB.py 
Log Message:
new cache minimize() doesn't take an arg either


=== Zope3/lib/python/ZODB/DB.py 1.45 => 1.46 ===
         return m[0]
 
     def cacheMinimize(self, value):
-        self._connectionMap(lambda c, v=value: c._cache.minimize(v))
+        # XXX Persistence.Cache doesn't expect an argument
+        self._connectionMap(lambda c, v=value: c._cache.minimize())
 
     def cacheMeanAge(self): return self._cacheMean('cache_mean_age')
     def cacheMeanDeac(self): return self._cacheMean('cache_mean_deac')