Merge ~cjwatson/launchpad:py3-raw-sendmail-bytes into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | d0b90b7b41f0ccb267ad9d496ffe06fb12dd4802 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:py3-raw-sendmail-bytes |
Merge into: | launchpad:master |
Diff against target: |
18 lines (+2/-5) 1 file modified
lib/lp/services/mail/sendmail.py (+2/-5) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cristian Gonzalez (community) | Approve | ||
Review via email: mp+396323@code.launchpad.net |
Commit message
Make raw_sendmail accept messages as bytes, not str
Description of the change
Experimentation suggests that on Python 3 it works best to treat email messages as bytes in most situations, although we still need to change quite a few call sites to achieve that consistently.
To post a comment you must log in.
Looks good!