From a6002f06e08649294c72b584a47092f1f22b5385 Mon Sep 17 00:00:00 2001 From: Michael Bienia Date: Sun, 20 Dec 2009 14:11:30 +0100 Subject: [PATCH] ubuntutools/requestsync/common.py: convert the changelog into a unicode string (lp: #498349) --- debian/changelog | 6 +++++- ubuntutools/requestsync/common.py | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5e534f8..05eb3cb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,7 +8,11 @@ ubuntu-dev-tools (0.86) UNRELEASED; urgency=low * submittodebian: if patch is relatively small (shorter than fifty lines), display it inline instead of attaching to the report. - -- Kumar Appaiah Fri, 18 Dec 2009 21:30:30 +0100 + [ Michael Bienia ] + * ubuntutools/requestsync/common.py: convert the changelog into a unicode + string (lp: #498349) + + -- Michael Bienia Sun, 20 Dec 2009 14:08:31 +0100 ubuntu-dev-tools (0.85) lucid; urgency=low diff --git a/ubuntutools/requestsync/common.py b/ubuntutools/requestsync/common.py index 2cb66b9..23da5e4 100644 --- a/ubuntutools/requestsync/common.py +++ b/ubuntutools/requestsync/common.py @@ -63,9 +63,11 @@ def getDebianChangelog(srcpkg, version): new_entries = '' changelog = Changelog(changelog.read()) + # see also Debian #539334 for block in changelog._blocks: if block.version > version: - new_entries += str(block) + # see also Debian #561805 + new_entries += unicode(str(block).decode('utf-8')) return new_entries