Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_workflow
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenjie.zheng
erp5_workflow
Commits
1c8355c9
Commit
1c8355c9
authored
May 12, 2015
by
wenjie.zheng
Committed by
Sebastien Robin
Jul 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Base.py: revert reorganised imports.
parent
8036e3cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
41 deletions
+55
-41
product/ERP5Type/Base.py
product/ERP5Type/Base.py
+55
-41
No files found.
product/ERP5Type/Base.py
View file @
1c8355c9
...
...
@@ -28,69 +28,83 @@
#
##############################################################################
import
inspect
import
OFS.History
import
random
import
sys
,
re
import
thread
,
threading
import
types
from
struct
import
unpack
from
copy
import
copy
import
warnings
import
zope.interface
import
types
import
thread
,
threading
from
Accessor
import
WorkflowStat
e
from
Products.ERP5Type.Globals
import
InitializeClass
,
DTMLFil
e
from
AccessControl
import
ClassSecurityInfo
from
AccessControl.Permission
import
pname
,
Permission
from
AccessControl.PermissionRole
import
rolesForPermissionOn
from
AccessControl.SecurityManagement
import
getSecurityManager
from
AccessControl.ZopeGuards
import
guarded_getattr
from
Acquisition
import
aq_base
,
aq_inner
,
aq_acquire
,
aq_chain
from
copy
import
copy
from
CopySupport
import
CopyContainer
,
CopyError
,
\
tryMethodCallWithTemporaryPermission
from
cStringIO
import
StringIO
from
DateTime
import
DateTime
from
Errors
import
DeferredCatalogError
,
UnsupportedWorkflowMethod
import
OFS.History
from
OFS.SimpleItem
import
SimpleItem
from
OFS.PropertyManager
import
PropertyManager
from
persistent.TimeStamp
import
TimeStamp
from
pprint
import
pformat
from
Products.CMFActivity.ActiveObject
import
ActiveObject
from
Products.CMFCore.CMFCatalogAware
import
CMFCatalogAware
from
Products.CMFCore.Expression
import
Expression
from
zExceptions
import
NotFound
,
Unauthorized
from
ZopePatch
import
ERP5PropertyManager
from
Products.CMFCore.PortalContent
import
PortalContent
from
Products.CMFCore.
utils
import
getToolByName
,
_checkConditionalGET
,
\
_setCacheHeaders
,
_ViewEmulator
from
Products.CMFCore.
Expression
import
Expression
from
Products.CMFCore.utils
import
getToolByName
,
_checkConditionalGET
,
_setCacheHeaders
,
_ViewEmulator
from
Products.CMFCore.WorkflowCore
import
ObjectDeleted
,
ObjectMoved
from
Products.CMFCore.CMFCatalogAware
import
CMFCatalogAware
from
Products.DCWorkflow.Transitions
import
TRIGGER_WORKFLOW_METHOD
,
TRIGGER_USER_ACTION
from
Products.ERP5Type
import
PropertySheet
,
interfaces
,
Permissions
,
_dtmldir
from
Products.ERP5Type.Accessor
import
Base
as
BaseAccessor
from
Products.ERP5Type.Accessor.Accessor
import
Accessor
as
Method
from
Products.ERP5Type
import
_dtmldir
from
Products.ERP5Type
import
PropertySheet
from
Products.ERP5Type
import
interfaces
from
Products.ERP5Type
import
Permissions
from
Products.ERP5Type.patches.CMFCoreSkinnable
import
SKINDATA
,
skinResolve
from
Products.ERP5Type.Utils
import
UpperCase
from
Products.ERP5Type.Utils
import
convertToUpperCase
,
convertToMixedCase
from
Products.ERP5Type.Utils
import
createExpressionContext
,
simple_decorator
from
Products.ERP5Type.Accessor.Accessor
import
Accessor
from
Products.ERP5Type.Accessor.Constant
import
PropertyGetter
as
ConstantGetter
from
Products.ERP5Type.Accessor.TypeDefinition
import
type_definition
,
\
list_types
,
asDate
from
Products.ERP5Type.Cache
import
CachingMethod
,
clearCache
,
\
getReadOnlyTransactionCache
from
Products.ERP5Type.ConsistencyMessage
import
ConsistencyMessage
from
Products.ERP5Type.Globals
import
InitializeClass
,
DTMLFile
from
Products.ERP5Type.Log
import
log
as
unrestrictedLog
from
Products.ERP5Type.Message
import
Message
from
Products.ERP5Type.Accessor.TypeDefinition
import
list_types
from
Products.ERP5Type.Accessor
import
Base
as
BaseAccessor
from
Products.ERP5Type.mixin.property_translatable
import
PropertyTranslatableBuiltInDictMixIn
from
Products.ERP5Type.patches.CMFCoreSkinnable
import
SKINDATA
,
skinResolve
from
Products.ERP5Type.XMLExportImport
import
Base_asXML
from
Products.ERP5Type.Cache
import
CachingMethod
,
clearCache
,
getReadOnlyTransactionCache
from
Accessor
import
WorkflowState
from
Products.ERP5Type.Log
import
log
as
unrestrictedLog
from
Products.ERP5Type.TransactionalVariable
import
getTransactionalVariable
from
Products.ERP5Type.Accessor.TypeDefinition
import
type_definition
from
CopySupport
import
CopyContainer
,
CopyError
,
\
tryMethodCallWithTemporaryPermission
from
Errors
import
DeferredCatalogError
,
UnsupportedWorkflowMethod
from
Products.CMFActivity.ActiveObject
import
ActiveObject
from
Products.ERP5Type.Accessor.Accessor
import
Accessor
as
Method
from
Products.ERP5Type.Accessor.TypeDefinition
import
asDate
from
Products.ERP5Type.Message
import
Message
from
Products.ERP5Type.ConsistencyMessage
import
ConsistencyMessage
from
Products.ERP5Type.UnrestrictedMethod
import
UnrestrictedMethod
from
Products.ERP5Type.Utils
import
UpperCase
,
\
convertToUpperCase
,
convertToMixedCase
,
\
createExpressionContext
,
simple_decorator
from
Products.ERP5Type.XMLExportImport
import
Base_asXML
from
socket
import
gethostname
,
gethostbyaddr
from
zope.interface
import
classImplementsOnly
,
implementedBy
from
string
import
join
from
struct
import
unpack
from
zExceptions
import
NotFound
,
Unauthorized
from
zLOG
import
LOG
,
INFO
,
ERROR
,
WARNING
import
sys
,
re
from
cStringIO
import
StringIO
from
socket
import
gethostname
,
gethostbyaddr
import
random
import
inspect
from
pprint
import
pformat
import
zope.interface
from
ZODB.POSException
import
ConflictError
from
z
ope.interface
import
classImplementsOnly
,
implementedBy
from
ZopePatch
import
ERP5PropertyManager
from
z
LOG
import
LOG
,
INFO
,
ERROR
,
WARNING
_MARKER
=
[]
...
...
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