##// END OF EJS Templates
patchbomb: use sysstrs when describing content-type...
Augie Fackler -
r39069:751caa6a default
parent child Browse files
Show More
@@ -375,7 +375,7 b' def _getbundlemsgs(repo, sender, bundle,'
375 msg = emimemultipart.MIMEMultipart()
375 msg = emimemultipart.MIMEMultipart()
376 if body:
376 if body:
377 msg.attach(mail.mimeencode(ui, body, _charsets, opts.get(r'test')))
377 msg.attach(mail.mimeencode(ui, body, _charsets, opts.get(r'test')))
378 datapart = emimebase.MIMEBase('application', 'x-mercurial-bundle')
378 datapart = emimebase.MIMEBase(r'application', r'x-mercurial-bundle')
379 datapart.set_payload(bundle)
379 datapart.set_payload(bundle)
380 bundlename = '%s.hg' % opts.get(r'bundlename', 'bundle')
380 bundlename = '%s.hg' % opts.get(r'bundlename', 'bundle')
381 datapart.add_header(r'Content-Disposition', r'attachment',
381 datapart.add_header(r'Content-Disposition', r'attachment',
General Comments 0
You need to be logged in to leave comments. Login now