[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter - __init__.py:1.7
Andreas Jung
andreas@digicool.com
Mon, 17 Jun 2002 15:33:04 -0400
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter
In directory cvs.zope.org:/tmp/cvs-serv7216/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter
Modified Files:
__init__.py
Log Message:
Collector #433: Code cleanup and a modified import mechanism for splitters
caused trouble with backward compatiblity. The content of the __init__.py is
necessary for pre-2.6 installation but no longer used in 2.6.
=== Zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/__init__.py 1.6 => 1.7 ===
+
+def Splitter(txt,stopwords={},encoding="latin1"):
+ return ZopeSplitter(txt,stopwords)