Commit 2ceb392f authored by wenjie.zheng's avatar wenjie.zheng

Workflow.py: fix a typo which generates a wrong format_data for worklist...

Workflow.py: fix a typo which generates a wrong format_data for worklist information, and later crashes listAction.
parent 4c10f955
......@@ -402,8 +402,8 @@ class Workflow(IdAsReferenceMixin("", "prefix"), XMLObject):
fmt_data = TemplateDict()
fmt_data._push(info)
variable_match.setdefault(SECURITY_PARAMETER_ID, ())
fmt_data._push({(k, ('&%s:list=' % k).join(v)) for\
k, v in variable_match.iteritems()})
fmt_data._push({k: ('&%s:list=' % k).join(v) for\
k, v in variable_match.iteritems()})
variable_match[WORKLIST_METADATA_KEY] = {
'format_data': fmt_data,
......
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