From: Karsten Strand Date: Mon, 20 Aug 2018 07:51:00 +0000 (+0200) Subject: bitbake: toaster: Fix comparison in recipe template X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b6bc5f068a08f35e1408d863d0d1f30a4b431b48;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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) Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/toaster/toastergui/templates/recipe.html b/bitbake/lib/toaster/toastergui/templates/recipe.html index bf2cd7169ac..3f76e656fe2 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 %}