From ea39f8fc6fb7113d48832c2f871cfe7e1a491d07 Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Wed, 30 Oct 2019 15:49:08 -0700 Subject: [PATCH] updated corehandlers.py to no longer use threading.isAlive, which is pending deprecation --- daemon/core/api/tlv/corehandlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/core/api/tlv/corehandlers.py b/daemon/core/api/tlv/corehandlers.py index e66d6875..321306a2 100644 --- a/daemon/core/api/tlv/corehandlers.py +++ b/daemon/core/api/tlv/corehandlers.py @@ -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(),