Commit 1428ce98 authored by iv's avatar iv

ERP5Workflow: fix typos in ERP5Site_getWorkflowStateItemList.py

parent 817c5887
......@@ -39,8 +39,9 @@ for portal_type in portal_type:
# or workflows using another state variable
if (state_value_list is not None
and len(workflow.getStateIdList()) > 1
and state_var in (None, workflow.getStateVariable()):
and state_var in (None, workflow.getStateVariable())):
for state in state_value_list:
state_id = state.getReference()
if not state_id in state_set:
state_set.add(state_id)
result_list.append((str(translateString(state.title)), state_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