diff -r d05fc6aa4217 -r fc32ec8a8f53 src/pyams_content/component/paragraph/__init__.py --- a/src/pyams_content/component/paragraph/__init__.py Fri Jul 03 14:42:15 2020 +0200 +++ b/src/pyams_content/component/paragraph/__init__.py Fri Jul 03 18:43:46 2020 +0200 @@ -10,21 +10,20 @@ # FOR A PARTICULAR PURPOSE. # -__docformat__ = 'restructuredtext' - from persistent import Persistent from pyramid.events import subscriber from pyramid.threadlocal import get_current_registry from zope.container.contained import Contained from zope.interface import implementer from zope.lifecycleevent import ObjectModifiedEvent -from zope.lifecycleevent.interfaces import IObjectAddedEvent, IObjectModifiedEvent, IObjectRemovedEvent +from zope.lifecycleevent.interfaces import IObjectAddedEvent, IObjectModifiedEvent, \ + IObjectRemovedEvent from zope.schema.fieldproperty import FieldProperty from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary -from pyams_content.component.paragraph.interfaces import CONTENT_PARAGRAPHS_VOCABULARY, IBaseParagraph, \ - IParagraphContainer, IParagraphContainerTarget, IParagraphFactory, IParagraphFactorySettings, IParagraphTitle, \ - PARAGRAPH_FACTORIES_VOCABULARY +from pyams_content.component.paragraph.interfaces import CONTENT_PARAGRAPHS_VOCABULARY, \ + IBaseParagraph, IParagraphContainer, IParagraphContainerTarget, IParagraphFactory, \ + IParagraphFactorySettings, IParagraphTitle, PARAGRAPH_FACTORIES_VOCABULARY from pyams_content.features.checker import BaseContentChecker from pyams_content.features.preview.interfaces import IPreviewTarget from pyams_content.features.renderer import RenderedContentMixin @@ -40,6 +39,9 @@ from pyams_workflow.interfaces import IWorkflowState +__docformat__ = 'restructuredtext' + + # # Auto-creation of default paragraphs #