summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorKarsten Strand <karstens@graphcore.ai>2018-09-05 22:26:48 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-10 12:15:04 +0100
commit51872d3f99e38f9d883ab0a8782ceecb41822fd0 (patch)
tree5990af8e928f18bb71c8a6e9320bd274b7775dcf /bitbake
parent73c29f321a7ee7242d81c7b77cefb65298eadd05 (diff)
downloadpoky-51872d3f99e38f9d883ab0a8782ceecb41822fd0.tar.gz
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/recipe.html2
1 files changed, 1 insertions, 1 deletions
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 @@
176 <td>{{task.get_executed_display}}</td> 176 <td>{{task.get_executed_display}}</td>
177 177
178 <td>{{task.get_outcome_display}} 178 <td>{{task.get_outcome_display}}
179 {% if task.outcome = task.OUTCOME_FAILED %} 179 {% if task.outcome == task.OUTCOME_FAILED %}
180 <a href="{% url 'build_artifact' build.pk "tasklogfile" task.pk %}"> 180 <a href="{% url 'build_artifact' build.pk "tasklogfile" task.pk %}">
181 <span class="glyphicon glyphicon-download-alt 181 <span class="glyphicon glyphicon-download-alt
182 get-help" title="Download task log 182 get-help" title="Download task log