git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63df202
)
moveconfig: Avoid deprecation warning for setDaemon
author
Simon Glass
<sjg@chromium.org>
Sat, 23 Sep 2023 19:43:51 +0000
(13:43 -0600)
committer
Simon Glass
<sjg@chromium.org>
Wed, 4 Oct 2023 15:25:20 +0000
(09:25 -0600)
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>
tools/moveconfig.py
patch
|
blob
|
history
diff --git
a/tools/moveconfig.py
b/tools/moveconfig.py
index
880a559
..
2f7dee8
100755
(executable)
--- 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()