diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2015-12-10 18:32:32 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2015-12-10 18:32:32 -0800 |
commit | a633c8cd842225a60c206b2e9ce1479cd84c7636 (patch) | |
tree | 30d15b726bcd5488dd282aab08237b3c9e57ecbc | |
parent | 66b70e4cf6ba7060350464471e6a07428064efa5 (diff) | |
parent | 6474ce8bf927680fd9c2eaf24094b09e553dbd52 (diff) |
Merge branch '1.16'
-rw-r--r-- | paramiko/channel.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/paramiko/channel.py b/paramiko/channel.py index 070009f8..4ce4f286 100644 --- a/paramiko/channel.py +++ b/paramiko/channel.py @@ -306,11 +306,11 @@ class Channel (ClosingContextManager): `.Transport` or session's ``window_size`` (e.g. that set by the ``default_window_size`` kwarg for `.Transport.__init__`) will cause `.recv_exit_status` to hang indefinitely if it is called prior to a - sufficiently large `.read` (or if there are no threads calling - `.read` in the background). + sufficiently large `~Channel..read` (or if there are no threads + calling `~Channel.read` in the background). In these cases, ensuring that `.recv_exit_status` is called *after* - `.read` (or, again, using threads) can avoid the hang. + `~Channel.read` (or, again, using threads) can avoid the hang. :return: the exit code (as an `int`) of the process on the server. |