From 0956aa96f485cef8e40d520b024d64c55fb9dea6 Mon Sep 17 00:00:00 2001 From: John Kleint Date: Fri, 11 May 2012 10:53:35 -0400 Subject: [PATCH] Don't read from Paramiko's stderr since there isn't one. --- lib/ansible/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/connection.py b/lib/ansible/connection.py index 6d349388193..5243b708f7b 100644 --- a/lib/ansible/connection.py +++ b/lib/ansible/connection.py @@ -164,7 +164,7 @@ class ParamikoConnection(object): stdin = chan.makefile('wb', bufsize) stdout = chan.makefile('rb', bufsize) - stderr = chan.makefile_stderr('rb', bufsize) # stderr goes to stdout when using a pty, so this will never output anything. + stderr = '' # stderr goes to stdout when using a pty, so this will never output anything. return stdin, stdout, stderr def put_file(self, in_path, out_path):