Commit 467591c3 authored by 's avatar

- accept also the z3 version of PluggableIndex interface

parent da314fed
...@@ -35,6 +35,7 @@ from ZODB.POSException import ConflictError ...@@ -35,6 +35,7 @@ from ZODB.POSException import ConflictError
import transaction import transaction
from Products.PluginIndexes.common.PluggableIndex \ from Products.PluginIndexes.common.PluggableIndex \
import PluggableIndexInterface import PluggableIndexInterface
from Products.PluginIndexes.interfaces import IPluggableIndex
from Products.PluginIndexes.TextIndex import Splitter from Products.PluginIndexes.TextIndex import Splitter
from zLOG import LOG from zLOG import LOG
from zope.interface import implements from zope.interface import implements
...@@ -979,7 +980,7 @@ class ZCatalog(Folder, Persistent, Implicit): ...@@ -979,7 +980,7 @@ class ZCatalog(Folder, Persistent, Implicit):
# this interface by that name. Bleah # this interface by that name. Bleah
products = ObjectManager.all_meta_types(self, interfaces=( products = ObjectManager.all_meta_types(self, interfaces=(
PluggableIndexInterface,)) PluggableIndexInterface, IPluggableIndex))
p = None p = None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment