mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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:
committed by
Richard Purdie
parent
73c29f321a
commit
51872d3f99
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user