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

Andreas Jung andreas@digicool.com
Fri, 3 May 2002 10:53:15 -0400


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

Modified Files:
      Tag: Zope-2_5-branch
	__init__.py 
Log Message:
fixed typo in author name


=== Zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/__init__.py 1.7 => 1.7.16.1 ===
 availableSplitters = (
   ("ZopeSplitter" , "Zope Default Splitter"),
-  ("ISO_8859_1_Splitter" , "Werner Strobles ISO-8859-1 Splitter"),
+  ("ISO_8859_1_Splitter" , "Werner Strobls ISO-8859-1 Splitter"),
   ("UnicodeSplitter" , "Unicode-aware splitter")
 )
 
@@ -28,8 +28,7 @@
 
     if not name: name = splitterNames[0] 
     if not vars().has_key(name):
-        exec( "from %s import Splitter as %s" % (name,name))
-
+        exec( "from %s.%s import %s" % (name,name,name))
 
     return vars()[name]