[Erp5-report] r23958 - in /erp5/trunk/bt5/erp5_forge: WorkflowTemplateItem/portal_workflow/...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Oct 1 23:08:57 CEST 2008
Author: yusei
Date: Wed Oct 1 23:08:56 2008
New Revision: 23958
URL: http://svn.erp5.org?rev=23958&view=rev
Log:
Fixed one more UnboundLocalError.
Modified:
erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts/Bug_sendNotification.xml
erp5/trunk/bt5/erp5_forge/bt/revision
Modified: erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts/Bug_sendNotification.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts/Bug_sendNotification.xml?rev=23958&r1=23957&r2=23958&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts/Bug_sendNotification.xml (original)
+++ erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts/Bug_sendNotification.xml Wed Oct 1 23:08:56 2008
@@ -59,6 +59,7 @@
history = bug.portal_workflow.getInfoFor(bug, \'history\',\n
wf_id=\'bug_workflow\')\n
is_re_assign_action = False\n
+send_event = None\n
for history_item in history[::-1]:\n
if same_type(history_item[\'action\'], \'\') and history_item[\'action\'].endswith(\'action\'):\n
send_event = history_item[\'send_event\']\n
@@ -139,10 +140,11 @@
<string>history</string>
<string>False</string>
<string>is_re_assign_action</string>
+ <string>None</string>
+ <string>send_event</string>
<string>_getiter_</string>
<string>history_item</string>
<string>same_type</string>
- <string>send_event</string>
<string>bool</string>
<string>valid_transaction_list</string>
<string>append</string>
Modified: erp5/trunk/bt5/erp5_forge/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/bt/revision?rev=23958&r1=23957&r2=23958&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_forge/bt/revision (original)
+++ erp5/trunk/bt5/erp5_forge/bt/revision Wed Oct 1 23:08:56 2008
@@ -1,1 +1,1 @@
-384
+385
More information about the Erp5-report
mailing list