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

Andreas Jung andreas@zope.com
Thu, 11 Oct 2001 14:28:10 -0400


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

Modified Files:
	TextIndex.py 
Log Message:
added support for Unicode


=== Zope/lib/python/Products/PluginIndexes/TextIndex/TextIndex.py 1.18 => 1.19 ===
         
         # Run through the words and score them
-        for word in splitter(source):
+
+        for word in list(splitter(source)):
             if word[0] == '\"':
                 last = self._subindex(word[1:-1], wordScores, last, splitter)
             else: