# HG changeset patch # User Thierry Florac # Date 1461255209 -7200 # Node ID 4f51a7d6e18d100e4e6b4e81102096ceac318501 # Parent b5882159dea4d1a9401e90d7630f0fff08925723 Removed unused imports diff -r b5882159dea4 -r 4f51a7d6e18d src/pyams_content/shared/common/__init__.py --- 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