|
* "message" => email.message.Message |
The code in get_bug_log() uses the header and body components delivered by the bts to feed them into a message parser, but ignores that the body component has been parsed and decoded already by the bts. (The issue is not very visible at the moment due to debian bug 853915, but I've now submitted a merge request to fix that.) In particular for multipart messages (messages with attachments, signed messages, etc.), the message body won't contain what the parser expects after reading the header.
It might be a good idea to document this restriction of the 'message' element.