Added IAttributeAnnotatable marker interface to HTML thesaurus term extension
authorThierry Florac <tflorac@ulthar.net>
Sat, 12 Jan 2019 18:34:49 +0100
changeset 1228 23e479c7ae90
parent 1227 7a8f45676467
child 1229 56a8bd713f59
Added IAttributeAnnotatable marker interface to HTML thesaurus term extension
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"""