summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2017-02-20 15:42:40 -0800
committerJeff Forcier <jeff@bitprophet.org>2017-02-20 15:42:40 -0800
commit281e1f1f01b9a726561fbefb297b74eb0114d76c (patch)
tree0f30429f5fe92901069f5358f2835b4444c75af8
parentb83580d54933195c3a79e558795df59447614a57 (diff)
parentc08d7901f73e610708b43efd4804202d976dedcd (diff)
Merge branch '2.1'
-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: