diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 571: Fix following error:

Message ID 20130331124812.3758.79694.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Yongqin Liu March 31, 2013, 12:48 p.m. UTC
Merge authors:
  Yongqin Liu (liuyq0307)
Related merge proposals:
  https://code.launchpad.net/~liuyq0307/lava-dispatcher/fix-no-run_commands-error/+merge/156298
  proposed by: Yongqin Liu (liuyq0307)
  review: Approve - Yongqin Liu (liuyq0307)
------------------------------------------------------------
revno: 571 [merge]
committer: Yongqin Liu <yongqin.liu@linaro.org>
branch nick: lava-dispatcher.org
timestamp: Sun 2013-03-31 20:47:17 +0800
message:
  Fix following error:
  
  WARNING: [ACTION-E] lava_android_test_install is finished with error ('LavaContext' object has no attribute 'run_commands').
modified:
  lava_dispatcher/actions/lava_android_test.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/actions/lava_android_test.py'
--- lava_dispatcher/actions/lava_android_test.py	2013-02-18 04:01:02 +0000
+++ lava_dispatcher/actions/lava_android_test.py	2013-03-31 12:29:13 +0000
@@ -218,7 +218,7 @@ 
                     cmds.insert(0, 'timeout')
                     cmds.insert(1, '%ss' % timeout)
                 logging.info("Execute command on host: %s" % (' '.join(cmds)))
-                rc = self.context.run_commands(cmds)
+                rc = self.context.run_command(cmds)
                 if rc == 124:
                     raise OperationFailed(
                         "The installation of test case(%s)"