summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rw-r--r--tests/pkgrecords.py2
2 files changed, 3 insertions, 1 deletions
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 <mvo@debian.org> 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