[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TopicIndex - FilteredSet.py:1.1.2.3 TopicIndex.py:1.1.2.3
Andreas Jung
andreas@zope.com
Mon, 15 Oct 2001 16:10:13 -0400
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TopicIndex
In directory cvs.zope.org:/tmp/cvs-serv8471
Modified Files:
Tag: ajung-topicindex
FilteredSet.py TopicIndex.py
Log Message:
=== Zope/lib/python/Products/PluginIndexes/TopicIndex/FilteredSet.py 1.1.2.2 => 1.1.2.3 ===
self.ids.insert(documentId)
+
+ def removedId(self,id):
+ try:
+ self.ids.remove(id)
+ except: pass
+
+
def getId(self): return self.id
def getExpression(self): return self.expr
def getIds(self): return self.ids
=== Zope/lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py 1.1.2.2 => 1.1.2.3 ===
""" hook for (Z)Catalog """
self.uncatalogedIds.insert(documentId)
+ for fs in self.filteredSets.values():
+ fs.removeId(documentId)
+
return 1