And the promised patch.
=== modified file 'lib/debian/deb822.py'
--- lib/debian/deb822.py 2010-03-16 01:05:11 +0000
+++ lib/debian/deb822.py 2010-07-29 10:53:15 +0000
@@ -276,7 +276,8 @@
necessary in order to properly interpret the strings.)
"""
- if _have_apt_pkg and use_apt_pkg and isinstance(sequence, file):
+ if (_have_apt_pkg and use_apt_pkg and isinstance(sequence, file) and
+ getattr(apt_pkg, "TagFile", None) is not None):
parser = apt_pkg.TagFile(sequence)
for section in parser:
yield cls(fields=fields, _parsed=TagSectionWrapper(section),
signature.asc
Description: This is a digitally signed message part

