Merge ~cjwatson/launchpad:py3-messageset-decode-header into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 403e92f1059f373263a095cb6a9fa40cb77f019b |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:py3-messageset-decode-header |
Merge into: | launchpad:master |
Diff against target: |
31 lines (+6/-8) 1 file modified
lib/lp/services/messages/model/message.py (+6/-8) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cristian Gonzalez (community) | Approve | ||
Review via email: mp+395936@code.launchpad.net |
Commit message
Fix MessageSet.
Description of the change
On Python 3, decode_header returns (str, None) if the given header has no internal encoding, even though it normally returns (bytes, charset) pairs. Adjust MessageSet.
To post a comment you must log in.
Looks good!