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

Andreas Jung andreas@digicool.com
Tue, 12 Mar 2002 10:31:19 -0500


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

Modified Files:
	__init__.py 
Log Message:
      - TextIndex: Enhanced splitter functionality now allows the
        TextIndex to index numbers, single characters. It is also 
        possible to enable case-sensitive indexing. The new 
        configuration options are available through the addForm
        of the Vocabulary object.
        


=== Zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/__init__.py 1.7 => 1.8 ===
     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]