Merge branch dev-dc
authorThierry Florac <thierry.florac@onf.fr>
Thu, 15 Nov 2018 14:03:07 +0100
changeset 1093 f95d237cbd68
parent 1090 d6d041577ae0 (diff)
parent 1092 350cc7104175 (current diff)
child 1094 465b273c312b
Merge branch dev-dc
src/pyams_content/component/paragraph/interfaces/milestone.py
--- a/src/pyams_content/component/paragraph/interfaces/milestone.py	Thu Nov 15 12:13:18 2018 +0100
+++ b/src/pyams_content/component/paragraph/interfaces/milestone.py	Thu Nov 15 14:03:07 2018 +0100
@@ -12,20 +12,17 @@
 
 __docformat__ = 'restructuredtext'
 
-
-# import standard library
-
 from zope.annotation.interfaces import IAttributeAnnotatable
 from zope.container.constraints import containers, contains
 from zope.interface import Interface
 from zope.schema import Bool, Choice
 
-from pyams_content import _
-# import interfaces
 from pyams_content.component.paragraph import IBaseParagraph
 from pyams_content.interfaces.container import IOrderedContainer
-# import packages
-from pyams_i18n.schema import I18nTextLineField, I18nTextField
+from pyams_i18n.schema import I18nTextField, I18nTextLineField
+
+from pyams_content import _
+
 
 MILESTONE_CONTAINER_KEY = 'pyams_content.milestones'
 
@@ -45,8 +42,8 @@
                               required=True)
 
     label = I18nTextField(title=_("Associated label"),
-                              description=_("The way this label will be rendered depends on presentation template"),
-                              required=False)
+                          description=_("The way this label will be rendered depends on presentation template"),
+                          required=False)
 
     anchor = Choice(title=_("Anchor"),
                     description=_("Paragraph to which this milestone should lead"),