diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 303: parenthesize arguments to string-% correctly

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

Commit Message

Michael-Doyle Hudson May 28, 2012, 6:48 a.m. UTC
------------------------------------------------------------
revno: 303
committer: Michael Hudson-Doyle <michael.hudson@linaro.org>
branch nick: trunk
timestamp: Mon 2012-05-28 18:46:23 +1200
message:
  parenthesize arguments to string-% correctly
modified:
  lava_dispatcher/client/master.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/client/master.py'
--- lava_dispatcher/client/master.py	2012-05-24 21:12:04 +0000
+++ lava_dispatcher/client/master.py	2012-05-28 06:46:23 +0000
@@ -99,7 +99,7 @@ 
             time.sleep(sleep_time)
             # send CTRL C to exit last command.
             session._client.proc.sendline("\003")
-            session._client.proc.sendline("echo 'retry left %s'" % num_retry-1)
+            session._client.proc.sendline("echo 'retry left %s'" % (num_retry-1))
         num_retry = num_retry - 1
 
     if not deploy_ok: