[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndex - GlobbingLexicon.py:1.2.4.3

Andreas Jung andreas@zope.com
Thu, 15 Nov 2001 15:20:57 -0500


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndex
In directory cvs.zope.org:/tmp/cvs-serv8010/TextIndex

Modified Files:
      Tag: Zope-2_4-branch
	GlobbingLexicon.py 
Log Message:

GlobbingLexicon used always the default ZopeSplitter instead of the 
user-selected splitter


=== Zope/lib/python/Products/PluginIndexes/TextIndex/GlobbingLexicon.py 1.2.4.2 => 1.2.4.3 ===
     def __init__(self,useSplitter=None):
         self.clear()
-        self.useSplitter = Splitter.splitterNames[0]
+        if useSplitter:
+            self.useSplitter = useSplitter
         self.SplitterFunc = Splitter.getSplitter(self.useSplitter)
 
     def clear(self):