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)
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

4
debian/changelog vendored
View File

@ -3,6 +3,8 @@ ubuntu-dev-tools (0.88) UNRELEASED; urgency=low
[ Michael Bienia ]
* requestsync: Fix a bug that prevented sync requests for new packages with
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 ]
* 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.
* 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

View File

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