# HG changeset patch # User Thierry Florac # Date 1444290525 -7200 # Node ID 959fc0b2654687a10e6606b8be99dad4963367d3 # Parent 2b20d7a5e7eee85ca1d43621404820414dab7f6d Moved required utilities from pyams_base package diff -r 2b20d7a5e7ee -r 959fc0b26546 src/pyams_catalog/site.py --- a/src/pyams_catalog/site.py Thu Oct 08 09:47:43 2015 +0200 +++ b/src/pyams_catalog/site.py Thu Oct 08 09:48:45 2015 +0200 @@ -21,6 +21,7 @@ from hypatia.interfaces import ICatalog from persistent.interfaces import IPersistent from pyams_utils.interfaces.site import ISiteGenerations +from zope.intid.interfaces import IIntIds from zope.lifecycleevent.interfaces import IObjectAddedEvent, IObjectRemovedEvent, IObjectModifiedEvent from zope.site.interfaces import INewLocalSite @@ -31,9 +32,11 @@ from pyams_utils.site import check_required_utilities from pyramid.events import subscriber from zope.interface.interface import InterfaceClass +from zope.intid import IntIds -REQUIRED_UTILITIES = ((ICatalog, '', Catalog, 'Catalog'),) +REQUIRED_UTILITIES = ((IIntIds, '', IntIds, 'Internal IDs'), + (ICatalog, '', Catalog, 'Catalog'),) @subscriber(INewLocalSite)