[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py - accept also the z3 version of PluggableIndex interface

Yvo Schubbe y.2005- at wcm-solutions.de
Mon Oct 31 15:26:30 EST 2005


Log message for revision 39788:
  - accept also the z3 version of PluggableIndex interface

Changed:
  U   Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py

-=-
Modified: Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py
===================================================================
--- Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py	2005-10-31 20:26:16 UTC (rev 39787)
+++ Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py	2005-10-31 20:26:30 UTC (rev 39788)
@@ -35,6 +35,7 @@
 import transaction
 from Products.PluginIndexes.common.PluggableIndex \
      import PluggableIndexInterface
+from Products.PluginIndexes.interfaces import IPluggableIndex
 from Products.PluginIndexes.TextIndex import Splitter
 from zLOG import LOG
 from zope.interface import implements
@@ -979,7 +980,7 @@
         # this interface by that name.  Bleah
 
         products = ObjectManager.all_meta_types(self, interfaces=(
-            PluggableIndexInterface,))
+            PluggableIndexInterface, IPluggableIndex))
 
         p = None
 



More information about the Zope-Checkins mailing list