summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py')
-rw-r--r--bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py b/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py
index df11f9d162..8eacb5e896 100644
--- a/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py
+++ b/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py
@@ -1,4 +1,4 @@
1from django.core.management.base import NoArgsCommand 1from django.core.management.base import BaseCommand
2from django.db import transaction 2from django.db import transaction
3from django.db.models import Q 3from django.db.models import Q
4 4
@@ -16,7 +16,7 @@ import os
16logger = logging.getLogger("toaster") 16logger = logging.getLogger("toaster")
17 17
18 18
19class Command(NoArgsCommand): 19class Command(BaseCommand):
20 args = "" 20 args = ""
21 help = "Schedules and executes build requests as possible. "\ 21 help = "Schedules and executes build requests as possible. "\
22 "Does not return (interrupt with Ctrl-C)" 22 "Does not return (interrupt with Ctrl-C)"
@@ -168,7 +168,7 @@ class Command(NoArgsCommand):
168 except Exception as e: 168 except Exception as e:
169 logger.warn("runbuilds: schedule exception %s" % str(e)) 169 logger.warn("runbuilds: schedule exception %s" % str(e))
170 170
171 def handle_noargs(self, **options): 171 def handle(self, **options):
172 pidfile_path = os.path.join(os.environ.get("BUILDDIR", "."), 172 pidfile_path = os.path.join(os.environ.get("BUILDDIR", "."),
173 ".runbuilds.pid") 173 ".runbuilds.pid")
174 174