diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-02-20 15:10:02 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-02-20 21:03:25 -0800 |
commit | 448f80089fe51b5a99aa2e1c0efdd56f1cfd083e (patch) | |
tree | 3676d9faf9bc0ed94121a0b3bd94624fa0805846 /paramiko/channel.py | |
parent | 168b8b383efc894cfa8d81946e524a639326f413 (diff) | |
download | paramiko-448f80089fe51b5a99aa2e1c0efdd56f1cfd083e.tar.gz |
Formatting
Diffstat (limited to 'paramiko/channel.py')
-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 64c645d0..1b334264 100644 --- a/paramiko/channel.py +++ b/paramiko/channel.py @@ -1077,7 +1077,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: |