Dolda2000 GitWeb
/
pdm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
51c8636
)
Properly flush SSH socket output.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 11 Feb 2015 07:04:55 +0000
(08:04 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 11 Feb 2015 07:04:55 +0000
(08:04 +0100)
pdm/sshsock.py
patch
|
blob
|
blame
|
history
diff --git
a/pdm/sshsock.py
b/pdm/sshsock.py
index
7ee26e8
..
2a1882a
100644
(file)
--- 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)
def send(self, data, flags = 0):
self.proc.stdin.write(data)
+ self.proc.stdin.flush()
return len(data)
def recv(self, buflen, flags = 0):
return len(data)
def recv(self, buflen, flags = 0):