From a610b7af65c92a75b8482bbce5290c0ca9a076f4 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 28 Aug 2023 17:59:51 +0200 Subject: [PATCH] ProtobufLogger.py: Fix the use of the deprecated setDaemon() method --- contrib/ProtobufLogger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/ProtobufLogger.py b/contrib/ProtobufLogger.py index 7493211b47..dbba1822c8 100644 --- a/contrib/ProtobufLogger.py +++ b/contrib/ProtobufLogger.py @@ -312,7 +312,7 @@ class PDNSPBListener(object): thread = threading.Thread(name='Connection Handler', target=PDNSPBConnHandler.run, args=[handler]) - thread.setDaemon(True) + thread.daemon = True thread.start() self._sock.close() -- 2.47.2