diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 81: Fix missing test_name

Message ID 20110725162051.13044.77117.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

Paul Larson July 25, 2011, 4:20 p.m. UTC
------------------------------------------------------------
revno: 81
fixes bug(s): https://launchpad.net/bugs/815986
committer: Paul Larson <paul.larson@canonical.com>
branch nick: lava-dispatcher
timestamp: Mon 2011-07-25 11:18:33 -0500
message:
  Fix missing test_name
modified:
  lava_dispatcher/__init__.py


--
lp:lava-dispatcher
https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk

You are subscribed to branch lp:lava-dispatcher.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_dispatcher/__init__.py'
--- lava_dispatcher/__init__.py	2011-07-21 16:55:47 +0000
+++ lava_dispatcher/__init__.py	2011-07-25 16:18:33 +0000
@@ -81,6 +81,7 @@ 
                         err_msg = "Lava failed at action " + cmd['command'] \
                             + " with error: " + str(err) + "\n"
                         if cmd['command'] == 'lava_test_run':
+                            test_name = params.get('test_name', "Unknown")
                             err_msg = err_msg + "Lava failed with test: " \
                                 + test_name
                         exc_type, exc_value, exc_traceback = sys.exc_info()