From 51872d3f99e38f9d883ab0a8782ceecb41822fd0 Mon Sep 17 00:00:00 2001 From: Karsten Strand Date: Wed, 5 Sep 2018 22:26:48 -0700 Subject: bitbake: bitbake: toaster: Fix comparison in recipe template Use == instead of = when comparing task outcome to OUTCOME_FAILED. Prior to this fix the recipe template would cause a TemplateSyntaxError exception. (Bitbake rev: a53ffec4ed3d0f9221bca398e20e8f480fb2b325) (Bitbake rev: bef6ef1a79b2d5a3688ae845824f722c332d7f19) Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/templates/recipe.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib') diff --git a/bitbake/lib/toaster/toastergui/templates/recipe.html b/bitbake/lib/toaster/toastergui/templates/recipe.html index bf2cd7169a..3f76e656fe 100644 --- a/bitbake/lib/toaster/toastergui/templates/recipe.html +++ b/bitbake/lib/toaster/toastergui/templates/recipe.html @@ -176,7 +176,7 @@ {{task.get_executed_display}} {{task.get_outcome_display}} - {% if task.outcome = task.OUTCOME_FAILED %} + {% if task.outcome == task.OUTCOME_FAILED %}