Commit a5106ed2 authored by Jérome Perrin's avatar Jérome Perrin

WorkflowTool: py3

parent a08b0bf3
......@@ -818,7 +818,7 @@ def generateNestedQuery(getQuery, priority_list, criterion_dict,
criterion_worklist_id_dict = worklist_id_dict.copy()
# Do not use iterkeys since the dictionary will be modified in the
# loop
for worklist_id in criterion_worklist_id_dict.keys():
for worklist_id in list(criterion_worklist_id_dict):
if worklist_id not in possible_worklist_id_dict:
del criterion_worklist_id_dict[worklist_id]
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment