[Zope-Checkins] CVS: Zope2 - GlobbingLexicon.py:1.4.46.2.6.5

Jim Fulton jim@digiciool.com
Wed, 14 Mar 2001 16:12:32 -0500 (EST)


Update of /cvs-repository/Zope2/lib/python/SearchIndex
In directory korak:/tmp/cvs-serv25810

Modified Files:
      Tag: Catalog-BTrees-Integration
	GlobbingLexicon.py 
Log Message:
Fixed: the wid intSets in the digrams collection weren't getting
converted to IITreeSets.



--- Updated File GlobbingLexicon.py in package Zope2 --
--- GlobbingLexicon.py	2001/03/03 23:22:08	1.4.46.2.6.4
+++ GlobbingLexicon.py	2001/03/14 21:12:31	1.4.46.2.6.5
@@ -89,7 +89,7 @@
 
 import re, string
 
-from BTrees.IIBTree import IISet, union
+from BTrees.IIBTree import IISet, union, IITreeSet
 from BTrees.OIBTree import OIBTree
 from BTrees.IOBTree import IOBTree
 from BTrees.OOBTree import OOBTree
@@ -140,7 +140,7 @@
         _digrams=self._digrams
         self._digrams=OOBTree()
         self._digrams._p_jar=self._p_jar
-        convert(_digrams, self._digrams, threshold)
+        convert(_digrams, self._digrams, threshold, IITreeSet)
 
 
     def createDigrams(self, word):