Skip to content

Commit

Permalink
Merge branch '2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed Feb 20, 2017
2 parents b83580d + c08d790 commit 281e1f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion paramiko/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,8 @@ def _send(self, s, m):
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:
Expand Down

0 comments on commit 281e1f1

Please sign in to comment.