[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TopicIndex - TopicIndex.py:1.9.6.2
Andreas Jung
andreas@andreas-jung.com
Mon, 23 Jun 2003 04:48:55 -0400
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TopicIndex
In directory cvs.zope.org:/tmp/cvs-serv30604/lib/python/Products/PluginIndexes/TopicIndex
Modified Files:
Tag: Zope-2_6-branch
TopicIndex.py
Log Message:
- Collector #954: clear() method of TopicIndex removed all filter sets
instead of clearing them.
=== Zope/lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py 1.9.6.1 => 1.9.6.2 ===
--- Zope/lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py:1.9.6.1 Thu Nov 28 11:37:04 2002
+++ Zope/lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py Mon Jun 23 04:48:55 2003
@@ -60,7 +60,9 @@
def clear(self):
""" clear everything """
- self.filteredSets = OOBTree()
+
+ for fs in self.filteredSets.values():
+ fs.clear()
def index_object(self, documentId, obj ,threshold=100):