diff options
-rw-r--r-- | lib/toaster/bldcontrol/management/commands/runbuilds.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/toaster/bldcontrol/management/commands/runbuilds.py b/lib/toaster/bldcontrol/management/commands/runbuilds.py index 33cc94ea8..e3a1fdbf6 100644 --- a/lib/toaster/bldcontrol/management/commands/runbuilds.py +++ b/lib/toaster/bldcontrol/management/commands/runbuilds.py @@ -130,7 +130,7 @@ class Command(NoArgsCommand): # update all BuildRequests without a build created for br in BuildRequest.objects.filter(build = None): br.build = Build.objects.create(project = br.project, completed_on = br.updated, started_on = br.created) - br.build.outcome = Build.REQ_FAILED + br.build.outcome = BuildRequest.REQ_FAILED try: br.build.machine = br.brvariable_set.get(name='MACHINE').value except BRVariable.DoesNotExist: |