summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/toastergui/templatetags/projecttags.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templatetags/projecttags.py b/bitbake/lib/toaster/toastergui/templatetags/projecttags.py
index 667bc38420..042d6927c5 100644
--- a/bitbake/lib/toaster/toastergui/templatetags/projecttags.py
+++ b/bitbake/lib/toaster/toastergui/templatetags/projecttags.py
@@ -75,7 +75,7 @@ def task_color(task_object):
75 """ 75 """
76 if not task_object.task_executed: 76 if not task_object.task_executed:
77 return 'class=muted' 77 return 'class=muted'
78 elif task_object.get_outcome_display == 'Failed': 78 elif task_object.outcome == task_object.OUTCOME_FAILED:
79 return 'class=error' 79 return 'class=error'
80 else: 80 else:
81 return '' 81 return ''