From a1dcc6a2e3afe8c649c05273955331b97aa50c41 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 11 Jun 2007 00:06:53 +0200 Subject: * finalized chanagelog * fixed bug in tests/pkgrecords.py --- debian/changelog | 2 +- tests/pkgrecords.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 8d8363ee..f8afaddc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,7 +5,7 @@ python-apt (0.7.0) unstable; urgency=low * merged translated package descriptions branch * update build-depends - -- + -- Michael Vogt Sun, 10 Jun 2007 20:13:38 +0200 python-apt (0.6.22) unstable; urgency=low diff --git a/tests/pkgrecords.py b/tests/pkgrecords.py index 8bfe4b82..d0616d29 100644 --- a/tests/pkgrecords.py +++ b/tests/pkgrecords.py @@ -21,6 +21,8 @@ def main(): #print "no available version, cruft" continue version = depcache.GetCandidateVer(pkg) + if not version: + continue file, index = version.FileList.pop(0) if records.Lookup((file,index)): #print records.FileName -- cgit v1.2.3