[Zope-Checkins] CVS: Zope2 - GlobbingLexicon.py:1.1.2.4 Lexicon.py:1.1.2.7
Andreas Jung
andreas@digicool.com
Tue, 29 May 2001 11:54:52 -0400
Update of /cvs-repository/Zope2/lib/python/Products/PluginIndexes/TextIndex
In directory yetix:/work/sandboxes/ajung-dropin-registry/lib/python/Products/PluginIndexes/TextIndex
Modified Files:
Tag: ajung-dropin-registry
GlobbingLexicon.py Lexicon.py
Log Message:
workaround for Zope problem during startup phase.
Must be fixed !
--- Updated File GlobbingLexicon.py in package Zope2 --
--- GlobbingLexicon.py 2001/05/16 16:13:26 1.1.2.3
+++ GlobbingLexicon.py 2001/05/29 15:54:20 1.1.2.4
@@ -125,7 +125,8 @@
def __init__(self,useSplitter=''):
self.clear()
- self.SplitterFunc=Splitter.getSplitter(useSplitter)
+# self.SplitterFunc=Splitter.getSplitter(useSplitter)
+ self.SplitterFunc = Splitter.Splitter
def clear(self):
self._lexicon = OIBTree()
--- Updated File Lexicon.py in package Zope2 --
--- Lexicon.py 2001/05/17 18:27:57 1.1.2.6
+++ Lexicon.py 2001/05/29 15:54:20 1.1.2.7
@@ -121,10 +121,12 @@
else:
self.stop_syn = stop_syn
- if useSplitter:
- self.SplitterFunc = Splitter.getSplitter(useSplitter)
- else:
- self.SplitterFunc = Splitter.getSplitter()
+# if useSplitter:
+# self.SplitterFunc = Splitter.getSplitter(useSplitter)
+# else:
+# self.SplitterFunc = Splitter.getSplitter()
+
+ self.SplitterFunc = Splitter.Splitter