summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--paramiko/channel.py3
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: