Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sven Franck
erp5
Commits
568e7c96
Commit
568e7c96
authored
9 years ago
by
wenjie.zheng
Browse files
Options
Download
Email Patches
Plain Diff
Worklist.py: remove useless comments.
parent
a0722829
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
product/ERP5Workflow/Document/Worklist.py
product/ERP5Workflow/Document/Worklist.py
+1
-5
No files found.
product/ERP5Workflow/Document/Worklist.py
View file @
568e7c96
...
...
@@ -83,8 +83,7 @@ class Worklist(XMLObject):
def
getGuard
(
self
):
if
self
.
guard
is
None
:
self
.
generateGuard
()
return
self
.
guard
### only generate gurad when self is a User Action
#return Guard().__of__(self) # Create a temporary guard.
return
self
.
guard
def
getGuardSummary
(
self
):
res
=
None
...
...
@@ -120,7 +119,6 @@ class Worklist(XMLObject):
res
.
sort
()
return
res
### zwj: this function has been modified from original one
def
getVarMatchKeys
(
self
):
key_list
=
[]
if
self
.
getMatchedSimulationState
()
is
not
None
:
...
...
@@ -133,7 +131,6 @@ class Worklist(XMLObject):
raise
NotImplementedError
(
' Please only fill the field of the state variable defined in this workflow.'
)
return
key_list
### zwj: this function has been modified from original one
def
getVarMatch
(
self
,
id
):
self
.
var_matches
=
{}
matches
=
''
...
...
@@ -234,4 +231,3 @@ class Worklist(XMLObject):
criteria
.
update
(
kw
)
return
catalog
.
searchResults
(
**
criteria
)
This diff is collapsed.
Click to expand it.
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