From 5d00fa864ee37365674ef8ae22b2f5f5133cd770 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 9 Jul 2013 16:14:25 +0100 Subject: [PATCH] fix pkglist lookup --- autopkgtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autopkgtest.py b/autopkgtest.py index b605951..7c2e86f 100644 --- a/autopkgtest.py +++ b/autopkgtest.py @@ -110,7 +110,7 @@ class AutoPackageTest(object): # End of the list pass for src in self.pkglist: - ver = sorted(self.pkglist[ver], cmp=apt_pkg.version_compare)[-1] + ver = sorted(self.pkglist[src], cmp=apt_pkg.version_compare)[-1] status = self.pkglist[src][ver]["status"] for trigsrc, trigver in self.pkglist[src][ver]["causes"].items(): self.pkgcauses[trigsrc][trigver].append((status, src, ver))