[Zope-Checkins] CVS: Zope2 - Lexicon.py:1.1.2.3 TextIndex.py:1.1.2.4
andreas@digicool.com
andreas@digicool.com
Tue, 15 May 2001 09:34:41 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/Products/PluginIndexes/TextIndex
In directory korak.digicool.com:/tmp/cvs-serv30626/TextIndex
Modified Files:
Tag: ajung-dropin-registry
Lexicon.py TextIndex.py
Log Message:
repacked
--- Updated File Lexicon.py in package Zope2 --
--- Lexicon.py 2001/05/15 12:35:44 1.1.2.2
+++ Lexicon.py 2001/05/15 13:34:09 1.1.2.3
@@ -89,7 +89,7 @@
"""
-#from Splitter import Splitter
+from Splitter import DefaultSplitter as Splitter
from Persistence import Persistent
from Acquisition import Implicit
@@ -128,6 +128,10 @@
print 'Splitter won\'t die'
exec('from %s import Splitter ' % useSplitter)
+
+ else:
+ exec('from %s import Splitter ' % availableSplitters[0])
+
def clear(self):
--- Updated File TextIndex.py in package Zope2 --
--- TextIndex.py 2001/05/15 12:36:56 1.1.2.3
+++ TextIndex.py 2001/05/15 13:34:09 1.1.2.4
@@ -110,10 +110,9 @@
from Products.PluginIndexes import PluggableIndex
-from Products.PluginIndexes.ResultList import ResultList
+from Products.PluginIndexes import ResultList
from Splitter import availableSplitters
-from Lexicon import Lexicon, stop_word_dict
-from Products.PluginIndexes.ResultList import ResultList
+from Lexicon import Lexicon, stop_word_dict