From 7c4fdef2c08a94dda3c5ccb99696bbc8fdcf03fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Thu, 27 Aug 2015 11:18:37 +0200 Subject: [PATCH] cleanup: remove useless import --- product/ERP5/Document/Document.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/product/ERP5/Document/Document.py b/product/ERP5/Document/Document.py index ce1884d508..f5ac3b0718 100644 --- a/product/ERP5/Document/Document.py +++ b/product/ERP5/Document/Document.py @@ -27,23 +27,16 @@ # ############################################################################## -import re, sys, os -from operator import add +import re from zLOG import LOG -from AccessControl import ClassSecurityInfo, getSecurityManager -from AccessControl.SecurityManagement import newSecurityManager, setSecurityManager +from AccessControl import ClassSecurityInfo from Acquisition import aq_base from Products.ERP5Type.Accessor.Constant import PropertyGetter as ConstantGetter -from Products.ERP5Type.Globals import get_request from Products.CMFCore.utils import _checkPermission from Products.ERP5Type import Permissions, PropertySheet, interfaces from Products.ERP5Type.XMLObject import XMLObject -from Products.ERP5Type.DateUtils import convertDateToHour,\ - number_of_hours_in_day, number_of_hours_in_year -from Products.ERP5Type.Utils import convertToUpperCase, fill_args_from_request,\ - deprecated, guessEncodingFromText +from Products.ERP5Type.Utils import deprecated, guessEncodingFromText from Products.ERP5Type.TransactionalVariable import getTransactionalVariable -from Products.ERP5Type.Cache import getReadOnlyTransactionCache from Products.ERP5.Tool.ContributionTool import MAX_REPEAT from Products.ZSQLCatalog.SQLCatalog import Query, NegatedQuery from AccessControl import Unauthorized -- 2.30.9