summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/views.py')
-rwxr-xr-xbitbake/lib/toaster/toastergui/views.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index 8034cfceaf..1e9df3fc5e 100755
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -66,7 +66,10 @@ def _project_recent_build_list(prj):
66 "id": x.pk, 66 "id": x.pk,
67 "targets" : map(lambda y: {"target": y.target, "task": y.task }, x.brtarget_set.all()), 67 "targets" : map(lambda y: {"target": y.target, "task": y.task }, x.brtarget_set.all()),
68 "status": x.get_state_display(), 68 "status": x.get_state_display(),
69 "errors": map(lambda y: {"type": y.errtype, "msg": y.errmsg, "tb": y.traceback}, x.brerror_set.exclude(errmsg__contains="Command Failed")), 69 "errors": map(lambda y: {"type": y.errtype, "msg": y.errmsg, "tb": y.traceback}, x.brerror_set.all()),
70 "updated": x.updated.strftime('%s')+"000",
71 "command_time": (x.updated - x.created).total_seconds(),
72 "br_page_url": reverse('buildrequestdetails', args=(x.project.id, x.pk) ),
70 "build" : map( lambda y: {"id": y.pk, 73 "build" : map( lambda y: {"id": y.pk,
71 "status": y.get_outcome_display(), 74 "status": y.get_outcome_display(),
72 "completed_on" : y.completed_on.strftime('%s')+"000", 75 "completed_on" : y.completed_on.strftime('%s')+"000",