[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TopicIndex - TopicIndex.py:1.13
Andreas Jung
andreas@andreas-jung.com
Mon, 23 Jun 2003 04:45:59 -0400
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TopicIndex
In directory cvs.zope.org:/tmp/cvs-serv30154/lib/python/Products/PluginIndexes/TopicIndex
Modified Files:
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.12 => 1.13 ===
--- Zope/lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py:1.12 Thu Jan 23 12:46:31 2003
+++ Zope/lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py Mon Jun 23 04:45:58 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):