* requestsync:

- Send a "Content-Type: text/plain; charset=UTF-8" header (LP: #246307).
This commit is contained in:
Colin Watson 2009-04-27 21:28:22 +01:00
parent 0f4f16d6be
commit f27b248164
2 changed files with 9 additions and 1 deletions

2
debian/changelog vendored
View File

@ -21,6 +21,8 @@ ubuntu-dev-tools (0.73) UNRELEASED; urgency=low
* bash_completion/pbuilder-dist:
- Add karmic.
- Add squeeze.
* requestsync:
- Send a "Content-Type: text/plain; charset=UTF-8" header (LP: #246307).
-- Nathan Handler <nhandler@ubuntu.com> Mon, 20 Apr 2009 22:32:13 +0000

View File

@ -289,7 +289,13 @@ def mail_bug(source_package, subscribe, status, bugtitle, bugtext, keyid = None)
assert gpg.returncode == 0
# generate email
mail = 'From: %s\nTo: %s\nSubject: %s\n\n%s' % (myemailaddr, to, bugtitle, signed_report)
mail = '''\
From: %s
To: %s
Subject: %s
Content-Type: text/plain; charset=UTF-8
%s''' % (myemailaddr, to, bugtitle, signed_report)
# ask for confirmation and allow to edit:
print mail