Commit d804dd9a authored by wenjie.zheng's avatar wenjie.zheng

Workflow.py: change a condiction definition.

parent f6f94ed1
......@@ -1012,7 +1012,7 @@ class Workflow(IdAsReferenceMixin("", "prefix"), XMLObject):
tdef_exprs = {}
status = {}
for id, vdef in self.getVariableValueList().items():
if not vdef.for_status:
if vdef.for_status == 0:
continue
expr = None
if state_values.has_key(id):
......
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