From 899a64f834287209d05024012b934fcc788e2b60 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Fri, 30 Oct 2009 11:45:56 +0000 Subject: [PATCH] Fix local variable in check-archive/check_override Signed-off-by: Chris Lamb --- dak/check_archive.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dak/check_archive.py b/dak/check_archive.py index aed2a8a8..d77f3fd0 100755 --- a/dak/check_archive.py +++ b/dak/check_archive.py @@ -186,7 +186,7 @@ def check_override(): print "-" * len(suite_name) print suite = get_suite(suite_name) - q = s.execute(""" + q = session.execute(""" SELECT DISTINCT b.package FROM binaries b, bin_associations ba WHERE b.id = ba.bin AND ba.suite = :suiteid AND NOT EXISTS (SELECT 1 FROM override o WHERE o.suite = :suiteid AND o.package = b.package)""" @@ -195,7 +195,7 @@ SELECT DISTINCT b.package FROM binaries b, bin_associations ba for j in q.fetchall(): print j[0] - q = s.execute(""" + q = session.execute(""" SELECT DISTINCT s.source FROM source s, src_associations sa WHERE s.id = sa.source AND sa.suite = :suiteid AND NOT EXISTS (SELECT 1 FROM override o WHERE o.suite = :suiteid and o.package = s.source)""" -- 2.39.5