Commit 548ff667 authored by Yusei Tahara's avatar Yusei Tahara

Fixed UnboundLocalError.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20819 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent de74bf9d
......@@ -71,6 +71,8 @@
\n
event = state_change[\'object\']\n
\n
follow_up_ticket_title = \'\'\n
\n
if not(len(event.getFollowUpValueList())):\n
history = event.portal_workflow.getInfoFor(event, \'history\', wf_id=\'event_workflow\')\n
\n
......@@ -132,13 +134,13 @@ if not(len(event.getFollowUpValueList())):\n
<string>state_change</string>
<string>_getitem_</string>
<string>event</string>
<string>follow_up_ticket_title</string>
<string>len</string>
<string>_getattr_</string>
<string>history</string>
<string>_getiter_</string>
<string>history_item</string>
<string>follow_up_ticket_type</string>
<string>follow_up_ticket_title</string>
</tuple>
</value>
</item>
......
222
\ No newline at end of file
223
\ 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