summaryrefslogtreecommitdiff
path: root/tools/moveconfig.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-09-23 13:43:51 -0600
committerSimon Glass <sjg@chromium.org>2023-10-04 09:25:20 -0600
commitad1f187c18c65a3c0fe09c8a2dbba26ee8173098 (patch)
treeeef275d97a59ac317dd44b7e26a2b2ea689a1998 /tools/moveconfig.py
parent63df202ad88fdd36deb8cd55eabe72db110962cb (diff)
moveconfig: Avoid deprecation warning for setDaemon
Use the recommended new way of setting a thread to be a daemon. This avoids a warning: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/moveconfig.py')
-rwxr-xr-xtools/moveconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/moveconfig.py b/tools/moveconfig.py
index 880a5594be0..2f7dee88c7e 100755
--- a/tools/moveconfig.py
+++ b/tools/moveconfig.py
@@ -2029,7 +2029,7 @@ doc/develop/moveconfig.rst for documentation.'''
config_db = {}
db_queue = queue.Queue()
t = DatabaseThread(config_db, db_queue)
- t.setDaemon(True)
+ t.daemon = True
t.start()
check_clean_directory()