diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-02-20 15:42:40 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-02-20 15:42:40 -0800 |
commit | 281e1f1f01b9a726561fbefb297b74eb0114d76c (patch) | |
tree | 0f30429f5fe92901069f5358f2835b4444c75af8 | |
parent | b83580d54933195c3a79e558795df59447614a57 (diff) | |
parent | c08d7901f73e610708b43efd4804202d976dedcd (diff) |
Merge branch '2.1'
-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: |