[1.50,4/4] bitbake: correct deprecation warning in process.py

Message ID 20211118162623.3117035-5-jacob.kroon@gmail.com
State Accepted, archived
Commit 35ca8e9fcc20a8ee9efb1356a957e054ad5532d8
Headers show
Series Backport fixes for python 3.10 | expand

Commit Message

Jacob Kroon Nov. 18, 2021, 4:26 p.m. UTC
From: Alexander Kanavin <alex.kanavin@gmail.com>

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aff52fe21a0b27f6302555c1e52a864550eb46ce)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
---
 lib/bb/server/process.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py
index 07bb785a..fcdce197 100644
--- a/lib/bb/server/process.py
+++ b/lib/bb/server/process.py
@@ -659,7 +659,7 @@  class BBUIEventQueue:
         self.reader = ConnectionReader(readfd)
 
         self.t = threading.Thread()
-        self.t.setDaemon(True)
+        self.t.daemon = True
         self.t.run = self.startCallbackHandler
         self.t.start()