MINOR: replace Thread.isAlive by Thread.is_alive for Python code
Reviewers: Luke Chen David Jacot
@@ -188,7 +188,7 @@ class _ReverseForwarder(object):
def stop(self):
self._stopping = True
self._accept_thread.join(30)
- if self._accept_thread.isAlive():
+ if self._accept_thread.is_alive():
raise RuntimeError("Failed to stop reverse forwarder on %s", self._node)
self._transport.cancel_port_forward('', self._remote_port)
