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
1
Issues
1
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
Roque
erp5
Commits
8ad8c08e
Commit
8ad8c08e
authored
Jul 17, 2015
by
wenjie.zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Base.py: clean up.
parent
122be9d0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5Type/Base.py
product/ERP5Type/Base.py
+2
-2
No files found.
product/ERP5Type/Base.py
View file @
8ad8c08e
...
@@ -166,7 +166,7 @@ class WorkflowMethod(Method):
...
@@ -166,7 +166,7 @@ class WorkflowMethod(Method):
# already better than what we had. I (JPS) would prefer to use
# already better than what we had. I (JPS) would prefer to use
# critical sections in this part of the code and a
# critical sections in this part of the code and a
# thread variable which tells in which semantic context the code
# thread variable which tells in which semantic context the code
# should
b
e executed. - XXX
# should
n
e executed. - XXX
return
self
.
_m
(
instance
,
*
args
,
**
kw
)
return
self
.
_m
(
instance
,
*
args
,
**
kw
)
# New implementation does not use any longer wrapWorkflowMethod
# New implementation does not use any longer wrapWorkflowMethod
...
@@ -3006,7 +3006,7 @@ class Base( CopyContainer,
...
@@ -3006,7 +3006,7 @@ class Base( CopyContainer,
local_permission_list
=
(
local_permission_list
,)
local_permission_list
=
(
local_permission_list
,)
setattr
(
self
,
permission_name
,
tuple
(
local_permission_list
))
setattr
(
self
,
permission_name
,
tuple
(
local_permission_list
))
# Content accessor methods
#
##
Content accessor methods
security
.
declareProtected
(
Permissions
.
View
,
'getSearchableText'
)
security
.
declareProtected
(
Permissions
.
View
,
'getSearchableText'
)
def
getSearchableText
(
self
,
md
=
None
):
def
getSearchableText
(
self
,
md
=
None
):
"""
"""
...
...
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