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

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


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

Modified Files:
	__init__.py 
Log Message:
added UnicodeSplitter


=== Zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/__init__.py 1.4 => 1.5 ===
 availableSplitters = (
   ("ZopeSplitter" , "Zope Default Splitter"),
-  ("ISO_8859_1_Splitter" , "Werner Strobles ISO-8859-1 Splitter")
+  ("ISO_8859_1_Splitter" , "Werner Strobles ISO-8859-1 Splitter"),
+  ("UnicodeSplitter" , "Unicode-aware splitter")
 )
 
 splitterNames = map(lambda x: x[0],availableSplitters)
@@ -15,6 +16,7 @@
     if not name: name = splitterNames[0] 
     if not vars().has_key(name):
         exec( "from %s import Splitter as %s" % (name,name))
+
 
     return vars()[name]