From: Remi Gacogne Date: Mon, 28 Aug 2023 15:59:51 +0000 (+0200) Subject: ProtobufLogger.py: Fix the use of the deprecated setDaemon() method X-Git-Tag: rec-5.0.0-alpha2~22^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a610b7af65c92a75b8482bbce5290c0ca9a076f4;p=thirdparty%2Fpdns.git ProtobufLogger.py: Fix the use of the deprecated setDaemon() method --- 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()