mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
bitbake: toaster: Fix for task_color tag
This patch changes the task_color tag in projecttags.py to make sure it adds the error class to the rows corresponding to failed tasks in the tasks table. (Bitbake rev: 44c5b3a93a93a464429e8d998aace25f840ae724) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
155302acb2
commit
f8f448e4e6
@@ -75,7 +75,7 @@ def task_color(task_object):
|
||||
"""
|
||||
if not task_object.task_executed:
|
||||
return 'class=muted'
|
||||
elif task_object.get_outcome_display == 'Failed':
|
||||
elif task_object.outcome == task_object.OUTCOME_FAILED:
|
||||
return 'class=error'
|
||||
else:
|
||||
return ''
|
||||
|
||||
Reference in New Issue
Block a user