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
Laurent S
erp5
Commits
3ea922c8
Commit
3ea922c8
authored
10 years ago
by
wenjie.zheng
Browse files
Options
Download
Email Patches
Plain Diff
Worklist.py: change the value type of the return value of getVarMatch so the Worklist can work.
parent
2ee0030f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5Workflow/Document/Worklist.py
product/ERP5Workflow/Document/Worklist.py
+2
-2
No files found.
product/ERP5Workflow/Document/Worklist.py
View file @
3ea922c8
...
...
@@ -146,9 +146,9 @@ class Worklist(XMLObject):
v
=
[
var
.
strip
()
for
var
in
self
.
getMatchedPortalTypeList
()
]
matches
=
tuple
(
v
)
elif
id
==
'validation_state'
:
matches
=
tuple
(
self
.
getMatchedValidationState
())
matches
=
tuple
(
[
self
.
getMatchedValidationState
List
()
]
)
elif
id
==
'simulation_stae'
:
matches
=
tuple
(
Expression
(
self
.
getMatchedSimulationState
()
)
)
matches
=
tuple
(
[
self
.
getMatchedSimulationState
List
()
]
)
else
:
raise
NotImplementedError
(
"Cataloged variable matching error in Worklist.py"
)
if
matches
is
not
None
:
...
...
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