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>
This commit is contained in:
Karsten Strand
2018-09-05 22:26:48 -07:00
committed by Richard Purdie
parent 73c29f321a
commit 51872d3f99

View File

@@ -176,7 +176,7 @@
<td>{{task.get_executed_display}}</td>
<td>{{task.get_outcome_display}}
{% if task.outcome = task.OUTCOME_FAILED %}
{% if task.outcome == task.OUTCOME_FAILED %}
<a href="{% url 'build_artifact' build.pk "tasklogfile" task.pk %}">
<span class="glyphicon glyphicon-download-alt
get-help" title="Download task log