diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-02-20 15:42:32 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-02-20 15:42:32 -0800 |
commit | e096e2c79e463177aa7622b28c2e6e5f3b8fadcd (patch) | |
tree | 42864cf89d97cc9039b5c2c49aa9c7b5d64353b0 | |
parent | e9ca25562e0578ebdf97f0ca00157009451a47c4 (diff) | |
parent | 086c9479b05c0fe2805f9433a09e33b72f17bf6e (diff) |
Merge branch '1.17' into 1.18
-rw-r--r-- | paramiko/channel.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/paramiko/channel.py b/paramiko/channel.py index 69db0107..89e9e5a9 100644 --- a/paramiko/channel.py +++ b/paramiko/channel.py @@ -1129,7 +1129,8 @@ class Channel (ClosingContextManager): self.lock.acquire() try: if self.closed: - # this doesn't seem useful, but it is the documented behavior of Socket + # this doesn't seem useful, but it is the documented behavior + # of Socket raise socket.error('Socket is closed') size = self._wait_for_send_window(size) if size == 0: |