3
0
mirror of https://git.launchpad.net/ubuntu-dev-tools synced 2025-03-26 10:21:09 +00:00

ubuntutools/requestsync/common.py: Decode the edited report file back from

UTF-8 so it can be encoded again in the next iteration (lp: )
This commit is contained in:
Michael Bienia 2010-01-07 23:14:24 +01:00
parent aa73abaee5
commit fe9b731b30
2 changed files with 4 additions and 2 deletions
debian
ubuntutools/requestsync

4
debian/changelog vendored

@ -3,6 +3,8 @@ ubuntu-dev-tools (0.88) UNRELEASED; urgency=low
[ Michael Bienia ] [ Michael Bienia ]
* requestsync: Fix a bug that prevented sync requests for new packages with * requestsync: Fix a bug that prevented sync requests for new packages with
a version smaller than 0. a version smaller than 0.
* ubuntutools/requestsync/common.py: Decode the edited report file back from
UTF-8 so it can be encoded again in the next iteration (lp: #504263)
[ Luca Falavigna ] [ Luca Falavigna ]
* Fix some typos in man pages. * Fix some typos in man pages.
@ -11,7 +13,7 @@ ubuntu-dev-tools (0.88) UNRELEASED; urgency=low
* mk-sbuild-lv: drop deprecated sbuild configuration fields from template. * mk-sbuild-lv: drop deprecated sbuild configuration fields from template.
* what-patch: updated for 3.0 source format. * what-patch: updated for 3.0 source format.
-- Kees Cook <kees@ubuntu.com> Tue, 05 Jan 2010 08:14:11 -0800 -- Michael Bienia <geser@ubuntu.com> Thu, 07 Jan 2010 23:10:25 +0100
ubuntu-dev-tools (0.87) lucid; urgency=low ubuntu-dev-tools (0.87) lucid; urgency=low

@ -122,7 +122,7 @@ def edit_report(subject, body, changes_required = False):
changes_required = False changes_required = False
report_file.seek(0) report_file.seek(0)
report = report_file.read() report = report_file.read().decode('utf-8')
report_file.close() report_file.close()
# Undecorate report again # Undecorate report again