--- a/src/pyams_workflow/content.py Wed Mar 28 15:39:09 2018 +0200
+++ b/src/pyams_workflow/content.py Wed Mar 28 16:05:15 2018 +0200
@@ -198,7 +198,7 @@
@adapter_config(context=IWorkflowPublicationSupport, provides=IWorkflowPublicationInfo)
-def WorkflowContentPublicationInfoFactory(context):
+def workflow_content_publication_info_factory(context):
"""Workflow content info factory"""
annotations = IAnnotations(context)
info = annotations.get(WORKFLOW_CONTENT_KEY)
--- a/src/pyams_workflow/versions.py Wed Mar 28 15:39:09 2018 +0200
+++ b/src/pyams_workflow/versions.py Wed Mar 28 16:05:15 2018 +0200
@@ -136,7 +136,7 @@
@adapter_config(context=IWorkflowVersion, provides=IWorkflowState)
-def WorkflowVersionStateFactory(context):
+def workflow_version_state_factory(context):
"""Workflow content version state factory"""
annotations = IAnnotations(context)
state = annotations.get(WORKFLOW_VERSION_KEY)
@@ -278,7 +278,7 @@
@adapter_config(context=IWorkflowManagedContent, provides=IWorkflowVersions)
-def WorkflowContentVersionsFactory(context):
+def workflow_content_versions_factory(context):
"""Workflow versions factory"""
annotations = IAnnotations(context)
versions = annotations.get(WORKFLOW_VERSIONS_KEY)
@@ -291,7 +291,7 @@
@adapter_config(context=IWorkflowVersion, provides=IWorkflowVersions)
-def WorkflowVersionVersionsFactory(context):
+def workflow_version_versions_factory(context):
"""Workflow versions factory for version"""
parent = get_parent(context, IWorkflowManagedContent)
if parent is not None: