Mercurial > hg
changeset 39034:751caa6a2936
patchbomb: use sysstrs when describing content-type
Differential Revision: https://phab.mercurial-scm.org/D4228
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 09 Aug 2018 19:37:57 -0400 |
parents | ed9537bd2d1a |
children | cecb05c371f7 |
files | hgext/patchbomb.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/patchbomb.py Thu Aug 09 18:28:43 2018 -0400 +++ b/hgext/patchbomb.py Thu Aug 09 19:37:57 2018 -0400 @@ -375,7 +375,7 @@ msg = emimemultipart.MIMEMultipart() if body: msg.attach(mail.mimeencode(ui, body, _charsets, opts.get(r'test'))) - datapart = emimebase.MIMEBase('application', 'x-mercurial-bundle') + datapart = emimebase.MIMEBase(r'application', r'x-mercurial-bundle') datapart.set_payload(bundle) bundlename = '%s.hg' % opts.get(r'bundlename', 'bundle') datapart.add_header(r'Content-Disposition', r'attachment',