Imports cleanup
authorThierry Florac <thierry.florac@onf.fr>
Tue, 27 Nov 2018 16:31:37 +0100
changeset 1130 7474da511445
parent 1129 2effaa115498
child 1131 64747fd623b3
Imports cleanup
src/pyams_content/shared/logo/paragraph.py
--- a/src/pyams_content/shared/logo/paragraph.py	Tue Nov 27 15:37:41 2018 +0100
+++ b/src/pyams_content/shared/logo/paragraph.py	Tue Nov 27 16:31:37 2018 +0100
@@ -12,29 +12,24 @@
 
 __docformat__ = 'restructuredtext'
 
-
-# import standard library
+from zope.interface import implementer
+from zope.schema.fieldproperty import FieldProperty
+from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary
 
-# import interfaces
-from pyams_content.features.checker.interfaces import IContentChecker, MISSING_VALUE, MISSING_LANG_VALUE, ERROR_VALUE
+from pyams_content.component.paragraph import BaseParagraph, BaseParagraphContentChecker, BaseParagraphFactory, \
+    IParagraphFactory
+from pyams_content.features.checker.interfaces import ERROR_VALUE, IContentChecker, MISSING_LANG_VALUE, MISSING_VALUE
 from pyams_content.features.renderer.interfaces import IContentRenderer
-from pyams_content.shared.logo.interfaces import ILogosParagraph, LOGOS_PARAGRAPH_TYPE, LOGOS_PARAGRAPH_RENDERERS, \
-    LOGOS_PARAGRAPH_NAME
-from pyams_i18n.interfaces import II18nManager, INegotiator, II18n
-from pyams_workflow.interfaces import IWorkflow, IWorkflowState
-
-# import packages
-from pyams_content.component.paragraph import BaseParagraph, IParagraphFactory, BaseParagraphFactory, \
-    BaseParagraphContentChecker
+from pyams_content.shared.logo.interfaces import ILogosParagraph, LOGOS_PARAGRAPH_NAME, LOGOS_PARAGRAPH_RENDERERS, \
+    LOGOS_PARAGRAPH_TYPE
+from pyams_i18n.interfaces import II18n, II18nManager, INegotiator
 from pyams_sequence.reference import get_reference_target
 from pyams_utils.adapter import adapter_config
-from pyams_utils.registry import utility_config, get_utility
+from pyams_utils.registry import get_utility, utility_config
 from pyams_utils.request import check_request
 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 zope.schema.vocabulary import SimpleVocabulary, SimpleTerm
+from pyams_workflow.interfaces import IWorkflow, IWorkflowState
 
 from pyams_content import _