Commit 837a9acb authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

* fix the condition and simplify the script.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26130 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 004d1dac
......@@ -128,10 +128,8 @@ for workflow_item in workflow_item_list:\n
value = \'%s\' % value\n
elif key == \'actor\':\n
value = getActorName(value)\n
elif same_type(value, \'\') and key in (\'state\' ):\n
value = getTranslationStringWithContext(context,value, key, workflow_id)\n
elif same_type(value, \'\') and key in ( \'action\'):\n
value = getTranslationStringWithContext(context,value, key, workflow_id)\n
elif same_type(value, \'\') and key in (\'action\', \'state\'):\n
value = getTranslationStringWithContext(context, value, key, workflow_id)\n
if value is marker:\n
value = \'Does not exist\'\n
o.setProperty(key, value)\n
......
1125
\ No newline at end of file
1127
\ No newline at end of file
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