diff options
author | Karsten Strand <karstens@graphcore.ai> | 2018-08-20 09:51:00 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-21 23:05:41 +0100 |
commit | a53ffec4ed3d0f9221bca398e20e8f480fb2b325 (patch) | |
tree | b0c78c4e59f4839b3225278a2a8a547e94d1d8ba /lib | |
parent | 985d6cec290bdd80998a63483561a73c75d82d65 (diff) | |
download | bitbake-a53ffec4ed3d0f9221bca398e20e8f480fb2b325.tar.gz |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/toaster/toastergui/templates/recipe.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/toaster/toastergui/templates/recipe.html b/lib/toaster/toastergui/templates/recipe.html index bf2cd7169..3f76e656f 100644 --- a/lib/toaster/toastergui/templates/recipe.html +++ b/lib/toaster/toastergui/templates/recipe.html @@ -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 |