# HG changeset patch # User Thierry Florac # Date 1518093173 -3600 # Node ID 8f90682f0fce039565b151024207dc435e14926c # Parent 747671dffc6602433cab907e4c89c15eee6b30ec Move sequences indexes to pyams_sequence package diff -r 747671dffc66 -r 8f90682f0fce src/pyams_content/generations/__init__.py --- a/src/pyams_content/generations/__init__.py Thu Feb 08 13:14:07 2018 +0100 +++ b/src/pyams_content/generations/__init__.py Thu Feb 08 13:32:53 2018 +0100 @@ -18,7 +18,6 @@ # import interfaces from pyams_catalog.interfaces import MINUTE_RESOLUTION, DATE_RESOLUTION from pyams_content.interfaces import IBaseContent -from pyams_content.component.links.interfaces import IInternalLink, IInternalReferencesList from pyams_content.root.interfaces import ISiteRootToolsConfiguration from pyams_content.shared.common.interfaces import IWfSharedContent from pyams_utils.interfaces.site import ISiteGenerations @@ -94,11 +93,7 @@ 'resolution': MINUTE_RESOLUTION}), ('first_publication_date', DatetimeIndexWithInterface, {'interface': IWorkflowPublicationInfo, 'discriminator': 'first_publication_date', - 'resolution': MINUTE_RESOLUTION}), - ('link_reference', FieldIndexWithInterface, {'interface': IInternalLink, - 'discriminator': 'reference'}), - ('link_references', KeywordIndexWithInterface, {'interface': IInternalReferencesList, - 'discriminator': 'references'})] + 'resolution': MINUTE_RESOLUTION})] def get_tools_manager(site, config, registry=None):