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
95b15075
Commit
95b15075
authored
Jun 10, 2015
by
wenjie.zheng
Committed by
Sebastien Robin
Jul 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WorkflowTool.py: modify the return type of getChainsByType from a tuple in a list to a tuple.
parent
70c35728
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
product/ERP5/Tool/WorkflowTool.py
product/ERP5/Tool/WorkflowTool.py
+2
-1
No files found.
product/ERP5/Tool/WorkflowTool.py
View file @
95b15075
...
...
@@ -629,7 +629,8 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool):
def
getChainsByType
(
self
):
type_workflow_dict
=
{}
for
type_id
,
workflow_id_list
in
self
.
_chains_by_type
.
iteritems
():
type_workflow_dict
.
setdefault
(
type_id
,
[]).
append
(
workflow_id_list
)
type_workflow_dict
.
setdefault
(
type_id
,
())
type_workflow_dict
[
type_id
]
=
type_workflow_dict
[
type_id
]
+
workflow_id_list
return
type_workflow_dict
# For Chains By Type Repair Tool:
...
...
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