summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorKarsten Strand <karstens@graphcore.ai>2018-08-20 09:51:00 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-23 08:50:23 +0100
commitb6bc5f068a08f35e1408d863d0d1f30a4b431b48 (patch)
tree28282bf346a5eae393b4c9477df485bc6d0208f1 /bitbake
parenta11008a90dd0643b9ae6833905e5c2918d493f27 (diff)
downloadpoky-b6bc5f068a08f35e1408d863d0d1f30a4b431b48.tar.gz
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 <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