From: Fredrik Tolf Date: Wed, 11 Feb 2015 07:04:55 +0000 (+0100) Subject: Properly flush SSH socket output. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=d14461c753bd6e14e8299500ecd195bd5f7923e0;hp=51c86362e0f20b1cb660b612f61f5f4e67b3cbd5;p=pdm.git Properly flush SSH socket output. --- 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):