[Zope-Checkins] CVS: Zope2 - ZCatalog.py:1.88.6.19

andreas@serenade.digicool.com andreas@serenade.digicool.com
Fri, 25 May 2001 09:41:02 -0400


Update of /cvs-repository/Zope2/lib/python/Products/ZCatalog
In directory serenade:/tmp/cvs-serv31433

Modified Files:
      Tag: ajung-dropin-registry
	ZCatalog.py 
Log Message:
reverted a lame change



--- Updated File ZCatalog.py in package Zope2 --
--- ZCatalog.py	2001/05/24 15:56:36	1.88.6.18
+++ ZCatalog.py	2001/05/25 13:41:01	1.88.6.19
@@ -815,10 +815,7 @@
         if base is None:
             raise ValueError, "Index type %s does not support addIndex" % type
 
-        if type in ['TextIndex']:
-            index = base(name, self,lexicon=self.vocabulary)
-        else:
-            index = base(name, self)
+        index = base(name, self)
 
         self._catalog.addIndex(name,index)