summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol/management
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-06-29 17:43:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-02 22:56:39 +0100
commit56066872ae7e5a39ef92c12651ee2895f8c9594f (patch)
tree14d7a19f0cfa0b7ed6aec096132420da8e774226 /bitbake/lib/toaster/bldcontrol/management
parent483b21b0cbdc47bec23e68ea3b00dff963fe40dd (diff)
downloadpoky-56066872ae7e5a39ef92c12651ee2895f8c9594f.tar.gz
bitbake: toaster: runbuilds Fix incorrect variable name
The recent refactoring moved this enum value to BuildRequests table rather than Build. (Bitbake rev: 4338ab03826df3353e1222f0bd825dfdd04dd933) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/management')
-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 33cc94ea89..e3a1fdbf6d 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 = Build.REQ_FAILED 133 br.build.outcome = BuildRequest.REQ_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: