aboutsummaryrefslogtreecommitdiff
path: root/b4/attest.py
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-11-23 15:56:45 -0500
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-11-23 15:56:45 -0500
commit521d4712ef531d13a68760bcd666f9056a14348e (patch)
tree1766e80e29069ee42b375695ebc07026d782025b /b4/attest.py
parent816375b5a8fb342324d3fd1cc6630f2fde7483da (diff)
downloadb4-521d4712ef531d13a68760bcd666f9056a14348e.tar.gz
Tweak display in softfail mode
Don't display failures if there are no attestations available. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'b4/attest.py')
-rw-r--r--b4/attest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/b4/attest.py b/b4/attest.py
index e1a16f4..672b0e1 100644
--- a/b4/attest.py
+++ b/b4/attest.py
@@ -136,7 +136,7 @@ def mutt_filter() -> None:
failed.append('commit message')
if not latt.iv:
failed.append('patch metadata')
- latt.lsig.errors.add('signature failed (%s)' % ', '.join(failed))
+ latt.lsig.errors.add('signature failed (%s)' % ', '.join(failed))
msg.add_header('Attestation-Failed', ', '.join(latt.lsig.errors))
# Delete the x-patch-hashes and x-patch-sig headers so
# they don't boggle up the view