From 9473004e03197bbbba60a6e1c8f50e807934f3db Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Wed, 31 Jul 2013 13:29:01 +0200 Subject: [PATCH] typo dans remote_command --- client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.py b/client.py index 92844e9..0a8f920 100755 --- a/client.py +++ b/client.py @@ -273,7 +273,7 @@ def remote_command(options, command, arg=None, stdin_contents=None): proc = remote_proc(options, command, arg) if stdin_contents is not None: proc.stdin.write(json.dumps(stdin_contents)) - proc.close() + proc.stdin.close() ret = proc.wait() raw_out = proc.stdout.read() if ret != 0: