Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Aurélien Vermylen
erp5
Commits
078c4aad
Commit
078c4aad
authored
May 04, 2012
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup import & whitespaces
parent
10e63467
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
20 deletions
+9
-20
product/ERP5Catalog/CatalogTool.py
product/ERP5Catalog/CatalogTool.py
+9
-20
No files found.
product/ERP5Catalog/CatalogTool.py
View file @
078c4aad
...
@@ -26,40 +26,29 @@
...
@@ -26,40 +26,29 @@
#
#
##############################################################################
##############################################################################
from
ZODB.POSException
import
ConflictError
from
Products.CMFCore.CatalogTool
import
CatalogTool
as
CMFCoreCatalogTool
from
Products.CMFCore.CatalogTool
import
CatalogTool
as
CMFCoreCatalogTool
from
Products.ZSQLCatalog.ZSQLCatalog
import
ZCatalog
from
Products.ZSQLCatalog.ZSQLCatalog
import
ZCatalog
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
from
Products.ERP5Type
import
Permissions
from
Products.ERP5Type
import
Permissions
from
Products.ERP5Type.Cache
import
CachingMethod
from
AccessControl
import
ClassSecurityInfo
,
getSecurityManager
from
AccessControl
import
ClassSecurityInfo
,
getSecurityManager
from
Products.CMFCore.utils
import
UniqueObject
,
_
checkPermission
,
_
getAuthenticatedUser
,
getToolByName
from
Products.CMFCore.utils
import
UniqueObject
,
_getAuthenticatedUser
,
getToolByName
from
Products.ERP5Type.Globals
import
InitializeClass
,
DTMLFile
,
package_home
from
Products.ERP5Type.Globals
import
InitializeClass
,
DTMLFile
from
Acquisition
import
aq_base
,
aq_inner
,
aq_parent
,
ImplicitAcquisitionWrapper
from
Acquisition
import
aq_base
,
aq_inner
,
aq_parent
,
ImplicitAcquisitionWrapper
from
DateTime.DateTime
import
DateTime
from
Products.CMFActivity.ActiveObject
import
ActiveObject
from
Products.CMFActivity.ActiveObject
import
ActiveObject
from
Products.ERP5Type.TransactionalVariable
import
getTransactionalVariable
from
Products.ERP5Type.TransactionalVariable
import
getTransactionalVariable
from
AccessControl.PermissionRole
import
rolesForPermissionOn
from
AccessControl.PermissionRole
import
rolesForPermissionOn
from
Products.PageTemplates.Expressions
import
SecureModuleImporter
from
Products.CMFCore.Expression
import
Expression
from
Products.PageTemplates.Expressions
import
getEngine
from
MethodObject
import
Method
from
MethodObject
import
Method
from
Products.ERP5Security
import
mergedLocalRoles
from
Products.ERP5Security
import
mergedLocalRoles
from
Products.ERP5Security.ERP5UserManager
import
SUPER_USER
from
Products.ERP5Security.ERP5UserManager
import
SUPER_USER
from
Products.ERP5Type.Utils
import
sqlquote
from
Products.ERP5Type.Utils
import
sqlquote
import
os
,
urllib
,
warnings
import
warnings
import
sys
from
zLOG
import
LOG
,
PROBLEM
,
WARNING
,
INFO
from
zLOG
import
LOG
,
PROBLEM
,
WARNING
,
INFO
ACQUIRE_PERMISSION_VALUE
=
[]
ACQUIRE_PERMISSION_VALUE
=
[]
from
Persistence
import
Persistent
from
Acquisition
import
Implicit
DYNAMIC_METHOD_NAME
=
'z_related_'
DYNAMIC_METHOD_NAME
=
'z_related_'
DYNAMIC_METHOD_NAME_LEN
=
len
(
DYNAMIC_METHOD_NAME
)
DYNAMIC_METHOD_NAME_LEN
=
len
(
DYNAMIC_METHOD_NAME
)
STRICT_DYNAMIC_METHOD_NAME
=
DYNAMIC_METHOD_NAME
+
'strict_'
STRICT_DYNAMIC_METHOD_NAME
=
DYNAMIC_METHOD_NAME
+
'strict_'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment