Commit 0956aa96 by John Kleint

Don't read from Paramiko's stderr since there isn't one.

parent 4e65b537
...@@ -164,7 +164,7 @@ class ParamikoConnection(object): ...@@ -164,7 +164,7 @@ class ParamikoConnection(object):
stdin = chan.makefile('wb', bufsize) stdin = chan.makefile('wb', bufsize)
stdout = chan.makefile('rb', 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 return stdin, stdout, stderr
def put_file(self, in_path, out_path): def put_file(self, in_path, out_path):
......
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