Commit ccf2d492 authored by iv's avatar iv Committed by iv

ERP5Workflow: fix typos in ERP5Site_getWorkflowStateItemList.py

parent 411d925b
......@@ -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