GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Fork of karmazilla/fabric
Description: Simple pythonic deployment (repository mirror of nongnu.org)
Homepage: http://www.nongnu.org/fab/
Clone URL: git://github.com/bitprophet/fabric.git
Removed explicit exit status check; hopefully fixes all 'dropped text' 
probs.

At this point it's clear that I either don't understand how these
channel.*_ready() methods are supposed to work, or they're buggy in some 
way.
Now that I don't use them at all, things seem to work better.
bitprophet (author)
Mon Jul 28 08:56:26 -0700 2008
commit  b609661a34988961c35aec62907155e6b7889f42
tree    073d6c7f93005e8a6189b645c81859abde506c20
parent  db1089b8971e5e0c0668818d74f46f498e1251b9
...
1178
1179
1180
1181
 
1182
1183
1184
...
1178
1179
1180
 
1181
1182
1183
1184
0
@@ -1178,7 +1178,7 @@ def _start_outputter(prefix, chan, env, stderr=False, capture=None):
0
         # chunks of text, such as sudo prompts. However, we still print
0
         # them to the user one line at a time. (We also eat sudo prompts.)
0
         leftovers = ""
0
- while not chan.exit_status_ready():
0
+ while True:
0
             out = None
0
             if not stderr:
0
                 out = chan.recv(65535)

Comments

    No one has commented yet.