[Zope-Checkins] CVS: Zope2 - PathIndex.py:1.1.2.8

andreas@digicool.com andreas@digicool.com
Wed, 16 May 2001 15:58:48 -0400 (EDT)


Update of /cvs-repository/Zope2/lib/python/Products/PluginIndexes/PathIndex
In directory korak.digicool.com:/tmp/cvs-serv5470

Modified Files:
      Tag: ajung-dropin-registry
	PathIndex.py 
Log Message:




--- Updated File PathIndex.py in package Zope2 --
--- PathIndex.py	2001/05/16 19:50:50	1.1.2.7
+++ PathIndex.py	2001/05/16 19:58:47	1.1.2.8
@@ -181,6 +181,9 @@
     def unindex_object(self,id):
         """ hook for (Z)Catalog """
 
+        if not self._unindex.has_key(id):
+            return 
+
         for path,level in self._unindex[id].items():
             self._index[path][level].remove(id)