diff options
author | Narendra-Neerukonda <narendra.klu9@gmail.com> | 2021-06-19 14:45:57 +0530 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2022-04-25 10:51:38 -0400 |
commit | e8cf0af3c1b4a2cc541d1fbef07faf6dab7e3559 (patch) | |
tree | 67b04097c2841b84bf3cfe024121db4ffef129f3 /paramiko/channel.py | |
parent | d7fe051087fc9bd31dc0c42da63b3ae4852f6d2d (diff) | |
download | paramiko-e8cf0af3c1b4a2cc541d1fbef07faf6dab7e3559.tar.gz |
threading related deprecation fixes for python 3.10
Diffstat (limited to 'paramiko/channel.py')
-rw-r--r-- | paramiko/channel.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paramiko/channel.py b/paramiko/channel.py index 72f65012..5f314361 100644 --- a/paramiko/channel.py +++ b/paramiko/channel.py @@ -1066,7 +1066,7 @@ class Channel(ClosingContextManager): if self.ultra_debug: self._log(DEBUG, "window up {}".format(nbytes)) self.out_window_size += nbytes - self.out_buffer_cv.notifyAll() + self.out_buffer_cv.notify_all() finally: self.lock.release() @@ -1230,7 +1230,7 @@ class Channel(ClosingContextManager): self.closed = True self.in_buffer.close() self.in_stderr_buffer.close() - self.out_buffer_cv.notifyAll() + self.out_buffer_cv.notify_all() # Notify any waiters that we are closed self.event.set() self.status_event.set() |