typo dans remote_command

This commit is contained in:
Daniel STAN 2013-07-31 13:29:01 +02:00
parent 97025265ee
commit 9473004e03

View file

@ -273,7 +273,7 @@ def remote_command(options, command, arg=None, stdin_contents=None):
proc = remote_proc(options, command, arg) proc = remote_proc(options, command, arg)
if stdin_contents is not None: if stdin_contents is not None:
proc.stdin.write(json.dumps(stdin_contents)) proc.stdin.write(json.dumps(stdin_contents))
proc.close() proc.stdin.close()
ret = proc.wait() ret = proc.wait()
raw_out = proc.stdout.read() raw_out = proc.stdout.read()
if ret != 0: if ret != 0: