[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndex - GlobbingLexicon.py:1.7
Andreas Jung
andreas@zope.com
Thu, 15 Nov 2001 15:19:57 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndex
In directory cvs.zope.org:/tmp/cvs-serv7943
Modified Files:
GlobbingLexicon.py
Log Message:
- GlobbingLexicon has been using always the default ZopeSplitter
and ignored the user settings
=== Zope/lib/python/Products/PluginIndexes/TextIndex/GlobbingLexicon.py 1.6 => 1.7 ===
def __init__(self,useSplitter=None):
self.clear()
- self.useSplitter = Splitter.splitterNames[0]
+ if useSplitter:
+ self.useSplitter = userSplitter
self.SplitterFunc = Splitter.getSplitter(self.useSplitter)
def clear(self):