aboutsummaryrefslogtreecommitdiff
path: root/kolla
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2021-06-28 10:52:22 +0200
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2021-06-28 10:53:05 +0200
commit2973d03ef1f69ee51c50a3db38d84cde8d3bc4d2 (patch)
tree7cf65eb9ef862a024f1f1a5671a32cb90e81a2c1 /kolla
parent8e020c5f86e033d9baba2c80c39f800bbd3cf2de (diff)
downloadkolla-2973d03ef1f69ee51c50a3db38d84cde8d3bc4d2.tar.gz
kolla-2973d03ef1f69ee51c50a3db38d84cde8d3bc4d2.zip
setDaemon() is deprecated in Python 3.10
setDaemon() Old getter/setter API for daemon; use it directly as a property instead. Change-Id: I5dd36e1e1f836faeb1b7225a2da42342df8c4a90
Diffstat (limited to 'kolla')
-rwxr-xr-xkolla/image/build.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py
index 095d2ee6a..cc486c62b 100755
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -1447,13 +1447,13 @@ def run_build():
try:
for x in range(conf.threads):
worker = WorkerThread(conf, build_queue)
- worker.setDaemon(True)
+ worker.daemon = True
worker.start()
workers.append(worker)
for x in range(conf.push_threads):
worker = WorkerThread(conf, push_queue)
- worker.setDaemon(True)
+ worker.daemon = True
worker.start()
workers.append(worker)