diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-06-08 14:03:27 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-06-08 14:03:27 -0400 |
commit | 1f946b903ee0ba42df9107dc484dcd5ff27b83d3 (patch) | |
tree | 12a5dfeb50c9c238a28e8804cc8288d850a78cb3 /b4/mbox.py | |
parent | c784afbdbed77155dd90904809003c90e9b43e76 (diff) | |
download | b4-1f946b903ee0ba42df9107dc484dcd5ff27b83d3.tar.gz |
Output less confusing trailer mismatch messages
Show the actual trailer name we're complaining about.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'b4/mbox.py')
-rw-r--r-- | b4/mbox.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -127,9 +127,9 @@ def mbox_to_am(mboxfile, cmdargs): if len(lser.trailer_mismatches): logger.critical('---') logger.critical('NOTE: some trailers ignored due to from/email mismatches:') - for tvalue, fname, femail in lser.trailer_mismatches: - logger.critical(' ! Trailer: %s', tvalue) - logger.critical(' From: %s <%s>', fname, femail) + for tname, tvalue, fname, femail in lser.trailer_mismatches: + logger.critical(' ! Trailer: %s: %s', tname, tvalue) + logger.critical(' Msg From: %s <%s>', fname, femail) logger.critical('NOTE: Rerun with -S to apply them anyway') topdir = None |