src/pyams_content/shared/imagemap/paragraph.py
changeset 1157 ffb751b038cc
parent 879 47173c13e118
--- a/src/pyams_content/shared/imagemap/paragraph.py	Wed Dec 12 11:12:59 2018 +0100
+++ b/src/pyams_content/shared/imagemap/paragraph.py	Wed Dec 12 11:14:55 2018 +0100
@@ -12,33 +12,26 @@
 
 __docformat__ = 'restructuredtext'
 
-
-# import standard library
+from zope.schema.fieldproperty import FieldProperty
 
-# import interfaces
-from pyams_content.component.paragraph.interfaces import IParagraphFactory
-from pyams_content.features.checker.interfaces import IContentChecker, ERROR_VALUE, MISSING_VALUE, MISSING_LANG_VALUE
-from pyams_content.shared.imagemap.interfaces import IImageMapParagraph, IMAGEMAP_PARAGRAPH_TYPE, \
-    IMAGEMAP_PARAGRAPH_RENDERERS, IMAGEMAP_PARAGRAPH_NAME
-from pyams_i18n.interfaces import II18nManager, INegotiator, II18n
-from pyams_workflow.interfaces import IWorkflow, IWorkflowState
-
-# import packages
 from pyams_content.component.links import InternalReferenceMixin
 from pyams_content.component.paragraph import BaseParagraph, BaseParagraphContentChecker, BaseParagraphFactory
+from pyams_content.component.paragraph.interfaces import IParagraphFactory
+from pyams_content.features.checker.interfaces import ERROR_VALUE, IContentChecker, MISSING_LANG_VALUE, MISSING_VALUE
 from pyams_content.features.renderer import RenderersVocabulary
+from pyams_content.shared.imagemap.interfaces import IImageMapParagraph, IMAGEMAP_PARAGRAPH_NAME, \
+    IMAGEMAP_PARAGRAPH_RENDERERS, IMAGEMAP_PARAGRAPH_TYPE
+from pyams_i18n.interfaces import II18n, II18nManager, INegotiator
 from pyams_utils.adapter import adapter_config
 from pyams_utils.factory import factory_config
-from pyams_utils.registry import utility_config, get_utility
+from pyams_utils.registry import get_utility, utility_config
 from pyams_utils.traversing import get_parent
 from pyams_utils.vocabulary import vocabulary_config
-from zope.interface import implementer
-from zope.schema.fieldproperty import FieldProperty
+from pyams_workflow.interfaces import IWorkflow, IWorkflowState
 
 from pyams_content import _
 
 
-@implementer(IImageMapParagraph)
 @factory_config(provided=IImageMapParagraph)
 class ImageMapParagraph(BaseParagraph, InternalReferenceMixin):
     """Image map paragraph"""