[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#717191: adt-run: "ImportError: No module named debian" with old python-debian version



tag 717191 pending
thanks

Hey Christoph,

Christoph Berg [2013-07-17 20:53 +0200]:
> for apt.postgresql.org, we are running autopkgtest on lots of
> distributions, including Ubuntu's lucid release. There, adt-run fails:
> 
> # adt-run
> Traceback (most recent call last):
>   File "/usr/bin/adt-run", line 39, in <module>
>     from debian import deb822, debian_support
> ImportError: No module named debian

How about http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=commitdiff;h=cb70f3cad ?

That avoids the deprecation warning when running with current
releases.

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20130719/8fc71639/attachment.sig>


Reply to: