Commit 18bfcfde authored by Jérome Perrin's avatar Jérome Perrin

remove some unused imports


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34481 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5adf91e1
...@@ -32,7 +32,7 @@ import zope.interface ...@@ -32,7 +32,7 @@ import zope.interface
from AccessControl import ClassSecurityInfo, getSecurityManager from AccessControl import ClassSecurityInfo, getSecurityManager
from Acquisition import aq_base from Acquisition import aq_base
from Products.CMFCore.Expression import Expression from Products.CMFCore.Expression import Expression
from Products.ERP5Type import interfaces, Constraint, Permissions, PropertySheet from Products.ERP5Type import interfaces, Permissions, PropertySheet
from Products.ERP5Type.Permissions import AccessContentsInformation from Products.ERP5Type.Permissions import AccessContentsInformation
from Products.ERP5Type.XMLObject import XMLObject from Products.ERP5Type.XMLObject import XMLObject
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions from Products.ERP5Type import Permissions
from Products.ERP5Type import PropertySheet from Products.ERP5Type import PropertySheet
from Products.ERP5Type.PropertySheet.CacheFactory import CacheFactory
from Products.ERP5Type.XMLObject import XMLObject from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5Type.Cache import CachingMethod from Products.ERP5Type.Cache import CachingMethod
...@@ -57,7 +56,7 @@ class CacheFactory(XMLObject): ...@@ -57,7 +56,7 @@ class CacheFactory(XMLObject):
property_sheets = ( PropertySheet.Base property_sheets = ( PropertySheet.Base
, PropertySheet.SimpleItem , PropertySheet.SimpleItem
, PropertySheet.Folder , PropertySheet.Folder
, CacheFactory , PropertySheet.CacheFactory
) )
......
...@@ -29,12 +29,11 @@ ...@@ -29,12 +29,11 @@
import transaction import transaction
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Acquisition import aq_base, aq_self, aq_parent, aq_inner from Acquisition import aq_base, aq_parent, aq_inner
from OFS.History import Historical from OFS.History import Historical
from OFS.Folder import Folder as OFSFolder
import ExtensionClass import ExtensionClass
from Products.CMFCore.utils import _getAuthenticatedUser, getToolByName from Products.CMFCore.utils import getToolByName
from Products.CMFCore.exceptions import AccessControl_Unauthorized from Products.CMFCore.exceptions import AccessControl_Unauthorized
from Products.CMFCore.CMFCatalogAware import CMFCatalogAware from Products.CMFCore.CMFCatalogAware import CMFCatalogAware
from Products.CMFCore.PortalFolder import ContentFilter from Products.CMFCore.PortalFolder import ContentFilter
...@@ -43,7 +42,6 @@ from Products.ERP5Type.Base import Base ...@@ -43,7 +42,6 @@ from Products.ERP5Type.Base import Base
from Products.ERP5Type.CopySupport import CopyContainer from Products.ERP5Type.CopySupport import CopyContainer
from Products.ERP5Type import PropertySheet from Products.ERP5Type import PropertySheet
from Products.ERP5Type.XMLExportImport import Folder_asXML from Products.ERP5Type.XMLExportImport import Folder_asXML
from Products.ERP5Type.Cache import CachingMethod
from Products.ERP5Type.Utils import sortValueList from Products.ERP5Type.Utils import sortValueList
from Products.ERP5Type.WebDAVSupport import Folder as WebDAVFolder from Products.ERP5Type.WebDAVSupport import Folder as WebDAVFolder
...@@ -72,14 +70,13 @@ except ImportError: ...@@ -72,14 +70,13 @@ except ImportError:
from AccessControl import getSecurityManager from AccessControl import getSecurityManager
from Products.ERP5Type import Permissions from Products.ERP5Type import Permissions
from MethodObject import Method
from DateTime import DateTime from DateTime import DateTime
from random import randint from random import randint
import os import os
from zLOG import LOG, PROBLEM, WARNING from zLOG import LOG, WARNING
import warnings import warnings
# variable to inform about migration process # variable to inform about migration process
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Products.ERP5Type.XMLObject import XMLObject from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5Type import PropertySheet from Products.ERP5Type import PropertySheet
from Products.ERP5Type.PropertySheet.MemcachedPlugin import MemcachedPlugin
from Products.ERP5Type import Permissions from Products.ERP5Type import Permissions
from Products.ERP5Type.Tool.MemcachedTool import memcached_dict_pool from Products.ERP5Type.Tool.MemcachedTool import memcached_dict_pool
......
...@@ -32,9 +32,7 @@ import zope.interface ...@@ -32,9 +32,7 @@ import zope.interface
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Acquisition import aq_base from Acquisition import aq_base
from Products.ERP5Type.Globals import InitializeClass from Products.ERP5Type.Globals import InitializeClass
from OFS.SimpleItem import SimpleItem
from Products.CMFCore.utils import getToolByName
from Products.CMFCore.Expression import Expression from Products.CMFCore.Expression import Expression
from Products.ERP5Type import interfaces, Permissions, PropertySheet from Products.ERP5Type import interfaces, Permissions, PropertySheet
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment