updated corehandlers.py to no longer use threading.isAlive, which is pending deprecation

This commit is contained in:
Blake Harnden 2019-10-30 15:49:08 -07:00
parent a33c8046f5
commit ea39f8fc6f

View file

@ -123,7 +123,7 @@ class CoreHandler(socketserver.BaseRequestHandler):
for thread in self.handler_threads:
logging.info("waiting for thread: %s", thread.getName())
thread.join(timeout)
if thread.isAlive():
if thread.is_alive():
logging.warning(
"joining %s failed: still alive after %s sec",
thread.getName(),