From 086c9479b05c0fe2805f9433a09e33b72f17bf6e Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Mon, 20 Feb 2017 15:10:02 -0800 Subject: Formatting --- paramiko/channel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3