[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter - __init__.py:1.6

Andreas Jung andreas@digicool.com
Mon, 17 Jun 2002 15:33:33 -0400


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

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/ISO_8859_1_Splitter/__init__.py 1.5 => 1.6 ===
+
+def Splitter(txt,stopwords=None,encoding='latin1'):
+    return ISO_8859_1_Splitter(txt,stopwords)