src/pyams_content/component/paragraph/contact.py
changeset 1157 ffb751b038cc
parent 1087 978a2b9123b9
--- a/src/pyams_content/component/paragraph/contact.py	Wed Dec 12 11:12:59 2018 +0100
+++ b/src/pyams_content/component/paragraph/contact.py	Wed Dec 12 11:14:55 2018 +0100
@@ -12,31 +12,25 @@
 
 __docformat__ = 'restructuredtext'
 
+from zope.interface import alsoProvides
+from zope.schema.fieldproperty import FieldProperty
 
-# import standard library
-
-# import interfaces
+from pyams_content.component.paragraph import BaseParagraph, BaseParagraphContentChecker, BaseParagraphFactory
 from pyams_content.component.paragraph.interfaces import IParagraphFactory
-from pyams_content.component.paragraph.interfaces.contact import have_gis, IContactParagraph, CONTACT_PARAGRAPH_TYPE, \
-    CONTACT_PARAGRAPH_RENDERERS, CONTACT_PARAGRAPH_NAME
-from pyams_content.features.checker.interfaces import IContentChecker, MISSING_VALUE, MISSING_LANG_VALUE
+from pyams_content.component.paragraph.interfaces.contact import CONTACT_PARAGRAPH_NAME, CONTACT_PARAGRAPH_RENDERERS, \
+    CONTACT_PARAGRAPH_TYPE, IContactParagraph, have_gis
+from pyams_content.features.checker.interfaces import IContentChecker, MISSING_LANG_VALUE, MISSING_VALUE
+from pyams_content.features.renderer import RenderersVocabulary
 from pyams_file.interfaces import IImage, IResponsiveImage
+from pyams_file.property import FileProperty
 from pyams_i18n.interfaces import II18n, II18nManager, INegotiator
-
-# import packages
-from pyams_content.component.paragraph import BaseParagraph, BaseParagraphFactory, BaseParagraphContentChecker
-from pyams_content.features.renderer import RenderersVocabulary
-from pyams_file.property import FileProperty
 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, alsoProvides
-from zope.schema.fieldproperty import FieldProperty
 
 
-@implementer(IContactParagraph)
 @factory_config(provided=IContactParagraph)
 class ContactParagraph(BaseParagraph):
     """Contact paragraph"""