From d14461c753bd6e14e8299500ecd195bd5f7923e0 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Wed, 11 Feb 2015 08:04:55 +0100 Subject: [PATCH] Properly flush SSH socket output. --- pdm/sshsock.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pdm/sshsock.py b/pdm/sshsock.py index 7ee26e8..2a1882a 100644 --- a/pdm/sshsock.py +++ b/pdm/sshsock.py @@ -46,6 +46,7 @@ class sshsocket(object): def send(self, data, flags = 0): self.proc.stdin.write(data) + self.proc.stdin.flush() return len(data) def recv(self, buflen, flags = 0): -- 2.11.0