diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-11-23 15:56:45 -0500 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-11-23 15:56:45 -0500 |
commit | 521d4712ef531d13a68760bcd666f9056a14348e (patch) | |
tree | 1766e80e29069ee42b375695ebc07026d782025b /b4/attest.py | |
parent | 816375b5a8fb342324d3fd1cc6630f2fde7483da (diff) | |
download | b4-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.py | 2 |
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 |