Bug#539316: python-debian: Parsing an existing changelog duplicates newlines
Michael Bienia
geser at ubuntu.com
Thu Jul 30 16:34:20 UTC 2009
Package: python-debian
Version: 0.1.14
Severity: normal
Hello,
I was looking if I can use the Changelog class to access changelog
entries from a existing changelogs. The parsing of a existing changelog
went fine but then I found out that there are no methods to iterate over
(or access) existing changelog blocks (I'd should file a wishlist bug
about this instead of accessing internal structures) but the more
important problem was that I got to many newlines when I tried to get a
string representation of a changelog block.
(Note: this was with pyhton 2.6 on Ubuntu if it's important)
>>> c = debian_bundle.changelog.Changelog(file('changelog.txt', 'r'))
>>> print c
Regards,
Michael
More information about the pkg-python-debian-maint
mailing list