Dolda2000 GitWeb
/
pdm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e325082
)
Make sure to flush stdout in sshsock.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Mon, 7 Jan 2013 06:35:14 +0000
(07:35 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Mon, 7 Jan 2013 06:35:14 +0000
(07:35 +0100)
pdm/sshsock.py
patch
|
blob
|
blame
|
history
diff --git
a/pdm/sshsock.py
b/pdm/sshsock.py
index
d96f4ff
..
dd53e6a
100644
(file)
--- a/
pdm/sshsock.py
+++ b/
pdm/sshsock.py
@@
-67,8
+67,10
@@
def cli():
sk.connect(sys.argv[1])
except socket.error as err:
sys.stdout.write("SSOCK-connect: %s\n" % err)
+ sys.stdout.flush()
return
sys.stdout.write("SSOCK+\n")
+ sys.stdout.flush()
buf1 = ""
buf2 = ""
while True: