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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alain Takoudjou
erp5
Commits
48a2e7c1
Commit
48a2e7c1
authored
May 12, 2015
by
wenjie.zheng
Committed by
Sebastien Robin
Jul 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Type.py: revert reorganised imports.
parent
1c8355c9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
product/ERP5Type/ERP5Type.py
product/ERP5Type/ERP5Type.py
+10
-10
No files found.
product/ERP5Type/ERP5Type.py
View file @
48a2e7c1
...
@@ -21,23 +21,17 @@
...
@@ -21,23 +21,17 @@
#
#
##############################################################################
##############################################################################
import
Products
import
zope.interface
import
zope.interface
from
Products.ERP5Type.Globals
import
InitializeClass
from
AccessControl
import
ClassSecurityInfo
,
getSecurityManager
from
AccessControl
import
ClassSecurityInfo
,
getSecurityManager
from
Acquisition
import
aq_base
,
aq_inner
,
aq_parent
from
Acquisition
import
aq_base
,
aq_inner
,
aq_parent
from
Products.CMFCore.exceptions
import
zExceptions_Unauthorized
,
\
import
Products
AccessControl_Unauthorized
from
Products.CMFCore.Expression
import
Expression
from
Products.CMFCore.TypesTool
import
FactoryTypeInformation
from
Products.CMFCore.TypesTool
import
FactoryTypeInformation
from
Products.CMFCore.Expression
import
Expression
from
Products.CMFCore.exceptions
import
AccessControl_Unauthorized
from
Products.CMFCore.utils
import
getToolByName
from
Products.CMFCore.utils
import
getToolByName
from
Products.ERP5Type
import
interfaces
,
Constraint
,
Permissions
,
PropertySheet
from
Products.ERP5Type
import
interfaces
,
Constraint
,
Permissions
,
PropertySheet
from
Products.ERP5Type.Base
import
getClassPropertyList
from
Products.ERP5Type.Base
import
getClassPropertyList
from
Products.ERP5Type.Cache
import
CachingMethod
from
Products.ERP5Type.dynamic.accessor_holder
import
getPropertySheetValueList
,
\
getAccessorHolderList
from
Products.ERP5Type.Globals
import
InitializeClass
from
Products.ERP5Type.TransactionalVariable
import
getTransactionalVariable
from
Products.ERP5Type.UnrestrictedMethod
import
UnrestrictedMethod
from
Products.ERP5Type.UnrestrictedMethod
import
UnrestrictedMethod
from
Products.ERP5Type.Utils
import
deprecated
,
createExpressionContext
from
Products.ERP5Type.Utils
import
deprecated
,
createExpressionContext
from
Products.ERP5Type.XMLObject
import
XMLObject
from
Products.ERP5Type.XMLObject
import
XMLObject
...
@@ -58,6 +52,12 @@ from zLOG import LOG, ERROR
...
@@ -58,6 +52,12 @@ from zLOG import LOG, ERROR
ERP5TYPE_SECURITY_GROUP_ID_GENERATION_SCRIPT
=
'ERP5Type_asSecurityGroupId'
ERP5TYPE_SECURITY_GROUP_ID_GENERATION_SCRIPT
=
'ERP5Type_asSecurityGroupId'
from
TranslationProviderBase
import
TranslationProviderBase
from
sys
import
exc_info
from
zLOG
import
LOG
,
ERROR
from
Products.CMFCore.exceptions
import
zExceptions_Unauthorized
def
getCurrentUserIdOrAnonymousToken
():
def
getCurrentUserIdOrAnonymousToken
():
"""Return connected user_id or simple token for
"""Return connected user_id or simple token for
Anonymous users in scope of transaction.
Anonymous users in scope of transaction.
...
...
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