Commit 9ed3fd4c authored by Yusei Tahara's avatar Yusei Tahara

2008-10-01 yusei

* Fixed UnboundLocalError in Bug_sendNotification.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23939 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a200f97a
...@@ -58,6 +58,7 @@ ...@@ -58,6 +58,7 @@
bug = state_change["object"]\n bug = state_change["object"]\n
history = bug.portal_workflow.getInfoFor(bug, \'history\',\n history = bug.portal_workflow.getInfoFor(bug, \'history\',\n
wf_id=\'bug_workflow\')\n wf_id=\'bug_workflow\')\n
is_re_assign_action = False\n
for history_item in history[::-1]:\n for history_item in history[::-1]:\n
if same_type(history_item[\'action\'], \'\') and history_item[\'action\'].endswith(\'action\'):\n if same_type(history_item[\'action\'], \'\') and history_item[\'action\'].endswith(\'action\'):\n
send_event = history_item[\'send_event\']\n send_event = history_item[\'send_event\']\n
...@@ -136,12 +137,13 @@ else:\n ...@@ -136,12 +137,13 @@ else:\n
<string>bug</string> <string>bug</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>history</string> <string>history</string>
<string>False</string>
<string>is_re_assign_action</string>
<string>_getiter_</string> <string>_getiter_</string>
<string>history_item</string> <string>history_item</string>
<string>same_type</string> <string>same_type</string>
<string>send_event</string> <string>send_event</string>
<string>bool</string> <string>bool</string>
<string>is_re_assign_action</string>
<string>valid_transaction_list</string> <string>valid_transaction_list</string>
<string>append</string> <string>append</string>
<string>$append0</string> <string>$append0</string>
......
2008-10-01 yusei
* Fixed UnboundLocalError in Bug_sendNotification.
2008-10-01 yusei 2008-10-01 yusei
* Update xml format. * Update xml format.
......
383 384
\ No newline at end of file \ 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