[Zope-Checkins] CVS: Zope3/lib/python/ZODB - DB.py:1.44
Jeremy Hylton
jeremy@zope.com
Mon, 17 Jun 2002 11:49:15 -0400
Update of /cvs-repository/Zope3/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv10921
Modified Files:
DB.py
Log Message:
quick hack to fix cacheFullSweep() for current cache
=== Zope3/lib/python/ZODB/DB.py 1.43 => 1.44 ===
def cacheFullSweep(self, value):
- self._connectionMap(lambda c, v=value: c._cache.full_sweep(v))
+ # XXX Persistence.Cache doesn't expect an argument
+## self._connectionMap(lambda c: c._cache.full_sweep(value))
+ self._connectionMap(lambda c: c._cache.full_sweep())
def cacheLastGCTime(self):
m=[0]