mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 12:49:03 +02:00
default_mail: Avoid traceback if swat_monitor isn't set
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
ca2da94e62
commit
66ca688ff8
|
@ -1,6 +1,6 @@
|
|||
The Yocto Project Autobuilder has detected a {{ status_detected }} on
|
||||
builder {{ buildername }}.
|
||||
{% if build.properties.swat_monitor[0] %}
|
||||
{% if 'swat_monitor' in build.properties and build.properties.swat_monitor[0] %}
|
||||
These build failures need to be triaged by the Swat team.
|
||||
{% else %}
|
||||
These build failures no not need to be triaged by the Swat team.y
|
||||
|
|
Loading…
Reference in New Issue
Block a user