# HG changeset patch # User Thierry Florac # Date 1547314489 -3600 # Node ID 23e479c7ae90d79eec13e635ff34abbeb42ff174 # Parent 7a8f4567646749688c5c5ae28eb854c2c138d363 Added IAttributeAnnotatable marker interface to HTML thesaurus term extension diff -r 7a8f45676467 -r 23e479c7ae90 src/pyams_content/features/thesaurus/interfaces.py --- a/src/pyams_content/features/thesaurus/interfaces.py Fri Jan 11 13:53:52 2019 +0100 +++ b/src/pyams_content/features/thesaurus/interfaces.py Sat Jan 12 18:34:49 2019 +0100 @@ -12,12 +12,12 @@ __docformat__ = 'restructuredtext' +from zope.annotation import IAttributeAnnotatable from zope.interface import Interface +from pyams_content import _ from pyams_i18n.schema import I18nHTMLField -from pyams_content import _ - THESAURUS_TERM_HTML_INFO_KEY = 'pyams_content.term.html_info' @@ -29,5 +29,5 @@ required=False) -class IThesaurusTermHTMLTarget(Interface): +class IThesaurusTermHTMLTarget(IAttributeAnnotatable): """Thesaurus term HTML description target"""