summaryrefslogtreecommitdiff
path: root/poky/bitbake/lib/toaster/tests/commands/test_runbuilds.py
diff options
context:
space:
mode:
Diffstat (limited to 'poky/bitbake/lib/toaster/tests/commands/test_runbuilds.py')
-rw-r--r--poky/bitbake/lib/toaster/tests/commands/test_runbuilds.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poky/bitbake/lib/toaster/tests/commands/test_runbuilds.py b/poky/bitbake/lib/toaster/tests/commands/test_runbuilds.py
index e223b95fcb..c77d6cf490 100644
--- a/poky/bitbake/lib/toaster/tests/commands/test_runbuilds.py
+++ b/poky/bitbake/lib/toaster/tests/commands/test_runbuilds.py
@@ -24,7 +24,7 @@ class KillRunbuilds(threading.Thread):
""" Kill the runbuilds process after an amount of time """
def __init__(self, *args, **kwargs):
super(KillRunbuilds, self).__init__(*args, **kwargs)
- self.setDaemon(True)
+ self.daemon = True
def run(self):
time.sleep(5)