Commit 3b0db9e3 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

qa_utils: Fix order of arguments passed to _AssertRetCode


Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 74e642cd
...@@ -325,7 +325,7 @@ def GetCommandOutput(node, cmd, tty=None, fail=False): ...@@ -325,7 +325,7 @@ def GetCommandOutput(node, cmd, tty=None, fail=False):
p = StartLocalCommand(GetSSHCommand(node, cmd, tty=tty), p = StartLocalCommand(GetSSHCommand(node, cmd, tty=tty),
stdout=subprocess.PIPE) stdout=subprocess.PIPE)
rcode = p.wait() rcode = p.wait()
_AssertRetCode(rcode, fail, node, cmd) _AssertRetCode(rcode, fail, cmd, node)
return p.stdout.read() return p.stdout.read()
......
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