mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
ubuntutools/requestsync/common.py: convert the changelog into a unicode string
(lp: #498349)
This commit is contained in:
parent
47abdefae9
commit
a6002f06e0
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -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 <akumar@debian.org> 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 <geser@ubuntu.com> Sun, 20 Dec 2009 14:08:31 +0100
|
||||
|
||||
ubuntu-dev-tools (0.85) lucid; urgency=low
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user