summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py b/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py
index e3a1fdbf6d..c3e9b74c09 100644
--- a/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py
+++ b/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py
@@ -130,7 +130,7 @@ class Command(NoArgsCommand):
130 # update all BuildRequests without a build created 130 # update all BuildRequests without a build created
131 for br in BuildRequest.objects.filter(build = None): 131 for br in BuildRequest.objects.filter(build = None):
132 br.build = Build.objects.create(project = br.project, completed_on = br.updated, started_on = br.created) 132 br.build = Build.objects.create(project = br.project, completed_on = br.updated, started_on = br.created)
133 br.build.outcome = BuildRequest.REQ_FAILED 133 br.build.outcome = Build.FAILED
134 try: 134 try:
135 br.build.machine = br.brvariable_set.get(name='MACHINE').value 135 br.build.machine = br.brvariable_set.get(name='MACHINE').value
136 except BRVariable.DoesNotExist: 136 except BRVariable.DoesNotExist: