This bug was fixed in the package python-debian - 0.1.16ubuntu1 --------------- python-debian (0.1.16ubuntu1) maverick; urgency=low [ Scott Howard ] * Merge from debian unstable (LP: #588714). Remaining changes: - Depend on python-apt as debian_support uses it unconditionally. - Add .lzma as a possible extenstion for data.tar (LP: #407198) Note that this does not mean that reading from the .lzma part is supported. This is blocked on http://bugs.python.org/issue5689 [ James Westby ] * Use os.path.normpath to ensure debfile tests work across python versions. python-debian (0.1.16) unstable; urgency=low * debian_support: Be more careful in case apt_pkg is not available - If apt_pkg is not available, AptPkgVersion now raises NotImplementedError on any initialization attempt - test_debian_support.py now doesn't try to test AptPkgVersion if apt_pkg is not availble * test_deb822.py: Don't test gpg info if debian-keyring is not available (Closes: #573934) * Use the warnings system to report deprecation warnings (Closes: #573945) * Change examples and control file to refer to debian instead of debian_bundle python-debian (0.1.15) unstable; urgency=low [ John Wright ] * deb822: Don't ignore leading newlines on field data with apt_pkg (Closes: #466753) * changelog: Consistently parse different types of inputs. The previous implementation added extra newlines when given a file object as input, rather than the result of str.splitlines(). (Closes: #539316) * deb822: Faster non-shared storage by keeping a TagFile object around for each Deb822 object yielded [ Stefano Zacchiroli ] * make debian_support.Version hashable, patch from Piotr Ożarowski (Closes: #543223) [ Filippo Giunchedi ] * changelog: add iterator over changelog blocks (Closes: #539334) * changelog: split tests into tests/test_changelog.py for consistency [ John Wright ] * deb822: Use the apt_pkg.TagFile class instead of apt_pkg.ParseTagFile() (Closes: #552190) * test_deb822.py: Update to support new gpg "SIG_ID" algorithm * deb822: Better support for non-ascii values. Deb822 objects now always contain unicode objects instead of strings. Use the encoding argument to Deb822's initializer and its iter_paragraphs class method if the encoding of a file you are reading in is not utf-8. (The dump method also takes an encoding argument, if you wish the output not to be utf-8-encoded.) (Closes: #495272) * Use the apt_pkg.TagFile iterator interface instead of hacking its offset. As of python-apt version 0.7.94, that interface doesn't use shared storage. (Closes: #571470) * debian_support: Add a native python Version class, based on Raphael Hertzog's DpkgVersion class in the PTS (Closes: #562257, #573009) [ Jelmer Vernooij ] * Remove unused imports in the debfile and debtags modules [ John Wright ] * changelog: Use debian_support.Version directly * Deprecate the 'debian_bundle' package in favor of a new 'debian' package (Closes: #570210) * debian_support: split tests into tests/test_debian_support.py for consistency * Convert to "3.0 (native)" source format and update Standards-Version to 3.8.4 (no changes necessary) -- Scott Howard