[Zodb-checkins] CVS: Zope2/lib/python/ZODB - DB.py:1.31

jeremy@digicool.com jeremy@digicool.com
Tue, 22 May 2001 19:00:40 -0400 (EDT)


Update of /cvs-repository/Zope2/lib/python/ZODB
In directory korak.digicool.com:/tmp/cvs-serv8548

Modified Files:
	DB.py 
Log Message:
Remove invalidateMany(), which is not used anywhere.

The same effect can be achieved by:
db.begin_invalidation()
for oid in oids_to_invalidate:
    db.invalidate(oid)
db.finish_invalidation()




--- Updated File DB.py in package Zope2/lib/python/ZODB --
--- DB.py	2001/05/21 22:45:38	1.30
+++ DB.py	2001/05/22 23:00:39	1.31
@@ -358,13 +358,6 @@
                 else: cc.close()
             self._temps=t
 
-    def invalidateMany(self, oids=None, version=''):
-        # XXX Callers of this method need to call begin_invalidation()
-        # and finish_invalidation() to get the right locking 
-        if oids is None: self.invalidate(None, version=version)
-        else:
-            for oid in oids: self.invalidate(oid, version=version)
-
     def modifiedInVersion(self, oid):
         h=hash(oid)%131
         cache=self._miv_cache