src/pyams_content/shared/common/__init__.py
changeset 25 4f51a7d6e18d
parent 15 d498aa030d6b
child 35 7cdbe0f6e5c2
--- a/src/pyams_content/shared/common/__init__.py	Thu Apr 21 18:12:30 2016 +0200
+++ b/src/pyams_content/shared/common/__init__.py	Thu Apr 21 18:13:29 2016 +0200
@@ -19,11 +19,10 @@
 from hypatia.interfaces import ICatalog
 from pyams_content.shared.common.interfaces import IWfSharedContent, IWfSharedContentRoles, ISharedContent, ISharedTool
 from pyams_content.interfaces import IBaseContentInfo
-from pyams_security.interfaces import IDefaultProtectionPolicy, ISecurityManager
+from pyams_security.interfaces import IDefaultProtectionPolicy
 from pyams_sequence.interfaces import ISequentialIdTarget, ISequentialIdInfo
 from pyams_utils.interfaces import VIEW_PERMISSION
-from pyams_workflow.interfaces import IWorkflowPublicationSupport, IWorkflow, IObjectClonedEvent, IWorkflowVersions, \
-    IWorkflowPublicationInfo
+from pyams_workflow.interfaces import IWorkflowPublicationSupport, IWorkflow, IObjectClonedEvent, IWorkflowVersions
 from zope.dublincore.interfaces import IZopeDublinCore
 from zope.intid.interfaces import IIntIds
 from zope.lifecycleevent.interfaces import IObjectModifiedEvent
@@ -34,18 +33,14 @@
 from pyams_security.property import RolePrincipalsFieldProperty
 from pyams_security.security import ProtectedObject
 from pyams_utils.adapter import adapter_config, ContextAdapter
-from pyams_utils.date import format_datetime
-from pyams_utils.registry import query_utility, get_utility
-from pyams_utils.request import query_request, check_request
-from pyams_utils.timezone import tztime
+from pyams_utils.registry import query_utility
+from pyams_utils.request import query_request
 from pyams_utils.traversing import get_parent
 from pyramid.events import subscriber
 from zope.container.contained import Contained
 from zope.interface import implementer
 from zope.schema.fieldproperty import FieldProperty
 
-from pyams_content import _
-
 
 #
 # Content types management