mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-29 11:51:08 +00:00
ubuntutools/requestsync/mail.py: Encode the report to utf-8 before passing
it to gpg for signing (lp: #522316).
This commit is contained in:
parent
51160d6eb1
commit
cfe30e88e5
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -22,7 +22,11 @@ ubuntu-dev-tools (0.93) UNRELEASED; urgency=low
|
|||||||
* mk-sbuild.1: update documentation to reflect alternative config file
|
* mk-sbuild.1: update documentation to reflect alternative config file
|
||||||
names for distro and schroot type overrides.
|
names for distro and schroot type overrides.
|
||||||
|
|
||||||
-- Kees Cook <kees@ubuntu.com> Tue, 09 Feb 2010 07:10:39 -0800
|
[ Michael Bienia ]
|
||||||
|
* ubuntutools/requestsync/mail.py: Encode the report to utf-8 before passing
|
||||||
|
it to gpg for signing (lp: #522316).
|
||||||
|
|
||||||
|
-- Michael Bienia <geser@ubuntu.com> Mon, 15 Feb 2010 22:37:59 +0100
|
||||||
|
|
||||||
ubuntu-dev-tools (0.92) lucid; urgency=low
|
ubuntu-dev-tools (0.92) lucid; urgency=low
|
||||||
|
|
||||||
|
@ -180,7 +180,7 @@ def mailBug(srcpkg, subscribe, status, bugtitle, bugtext, keyid = None):
|
|||||||
|
|
||||||
# sign the mail body
|
# sign the mail body
|
||||||
gpg = subprocess.Popen(gpg_command, stdin = subprocess.PIPE, stdout = subprocess.PIPE)
|
gpg = subprocess.Popen(gpg_command, stdin = subprocess.PIPE, stdout = subprocess.PIPE)
|
||||||
signed_report = gpg.communicate(mailbody)[0]
|
signed_report = gpg.communicate(mailbody.encode('utf-8'))[0]
|
||||||
assert gpg.returncode == 0
|
assert gpg.returncode == 0
|
||||||
|
|
||||||
# generate email
|
# generate email
|
||||||
|
Loading…
x
Reference in New Issue
Block a user