Imports cleanup
authorThierry Florac <thierry.florac@onf.fr>
Tue, 17 Mar 2015 16:18:00 +0100
changeset 1 a222398c5920
parent 0 73acbfc13577
child 2 6acf23529fc2
Imports cleanup
src/pyams_workflow/content.py
src/pyams_workflow/versions.py
src/pyams_workflow/workflow.py
--- a/src/pyams_workflow/content.py	Tue Mar 17 16:07:15 2015 +0100
+++ b/src/pyams_workflow/content.py	Tue Mar 17 16:18:00 2015 +0100
@@ -19,7 +19,7 @@
 # import interfaces
 from pyams_security.interfaces import IPrincipalInfo
 from pyams_workflow.interfaces import IWorkflowManagedContent, IWorkflowPublicationInfo, IWorkflow, IWorkflowVersions, \
-    IWorkflowVersion, IWorkflowPublicationSupport
+    IWorkflowPublicationSupport
 from zope.annotation.interfaces import IAnnotations
 
 # import packages
--- a/src/pyams_workflow/versions.py	Tue Mar 17 16:07:15 2015 +0100
+++ b/src/pyams_workflow/versions.py	Tue Mar 17 16:18:00 2015 +0100
@@ -9,7 +9,6 @@
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE.
 #
-from pyams_utils.traversing import get_parent
 
 __docformat__ = 'restructuredtext'
 
@@ -29,6 +28,7 @@
 from persistent.mapping import PersistentMapping
 from pyams_utils.adapter import adapter_config, ContextAdapter
 from pyams_utils.request import check_request
+from pyams_utils.traversing import get_parent
 from pyramid.events import subscriber
 from pyramid.threadlocal import get_current_registry
 from zope.container.folder import Folder
--- a/src/pyams_workflow/workflow.py	Tue Mar 17 16:07:15 2015 +0100
+++ b/src/pyams_workflow/workflow.py	Tue Mar 17 16:18:00 2015 +0100
@@ -9,7 +9,6 @@
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE.
 #
-from pyams_utils.traversing import get_parent
 
 __docformat__ = 'restructuredtext'
 
@@ -25,6 +24,7 @@
 from pyams_utils.adapter import adapter_config
 from pyams_utils.registry import get_utility
 from pyams_utils.request import check_request
+from pyams_utils.traversing import get_parent
 from pyramid.httpexceptions import HTTPUnauthorized
 from pyramid.threadlocal import get_current_registry
 from zope.interface import implementer