aboutsummaryrefslogtreecommitdiffstats
path: root/lib/toaster/tests/commands/test_runbuilds.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/toaster/tests/commands/test_runbuilds.py')
-rw-r--r--lib/toaster/tests/commands/test_runbuilds.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/toaster/tests/commands/test_runbuilds.py b/lib/toaster/tests/commands/test_runbuilds.py
index e223b95fc..c77d6cf49 100644
--- a/lib/toaster/tests/commands/test_runbuilds.py
+++ b/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)