[Zope-Checkins] CVS: Zope2 - __init__.py:1.1.2.6

andreas@digicool.com andreas@digicool.com
Wed, 16 May 2001 12:48:12 -0400 (EDT)


Update of /cvs-repository/Zope2/lib/python/Products/PluginIndexes/TextIndex/Splitter
In directory korak.digicool.com:/tmp/cvs-serv4406/lib/python/Products/PluginIndexes/TextIndex/Splitter

Modified Files:
      Tag: ajung-dropin-registry
	__init__.py 
Log Message:




--- Updated File __init__.py in package Zope2 --
--- __init__.py	2001/05/16 16:24:05	1.1.2.5
+++ __init__.py	2001/05/16 16:48:12	1.1.2.6
@@ -7,10 +7,10 @@
 
 splitterNames = map(lambda x: x[0],availableSplitters)
 
-def getSplitter(name=None):
+def getSplitter(name=''):
 
     if not name in splitterNames:
-        raise exceptions.RuntimeError,"No such splitter '%s'" % name
+        raise exceptions.RuntimeError, "No such splitter '%s'" % name
 
     if not name: name = splitterNames[0] 
     if not vars().has_key(name):