diff --git a/paramiko/transport.py b/paramiko/transport.py index 0197ced..fd63732 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -1389,7 +1389,7 @@ class Transport (threading.Thread): def stop_thread(self): self.active = False self.packetizer.close() - while self.is_alive(): + while self.isAlive(): self.join(10)