Bug#573009: python-debian: exception when importing debian_bundle.changelog if python-apt is not installed
James Westby
jw+debian at jameswestby.net
Mon Mar 8 16:16:44 UTC 2010
On Mon, 08 Mar 2010 10:10:23 +0100, arno renevier <arno at renevier.net> wrote:
> Package: python-debian
> Version: 0.1.14
> Severity: normal
>
> Hi,
> if python-apt is not installed, trying to import debian_bundle.changelog
> results in following exception
>
> >>> import debian_bundle.changelog
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/lib/pymodules/python2.5/debian_bundle/changelog.py", line 30, in <module>
> import debian_support
> File "/usr/lib/pymodules/python2.5/debian_bundle/debian_support.py", line 26, in <module>
> import apt_pkg
> ImportError: No module named apt_pkg
Hi,
Thanks for the report. I think we should depend on python-apt rather
than just recommending it now.
Thanks,
James
More information about the pkg-python-debian-maint
mailing list