From 07de4301ed6c1a915f76bf189b7b5a61c5c89ea3 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Fri, 30 Oct 2009 11:53:33 +0000 Subject: [PATCH] Fix do_anaias in cruft-report. Signed-off-by: Chris Lamb --- dak/cruft_report.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dak/cruft_report.py b/dak/cruft_report.py index 0a1534c5..4541bf6e 100755 --- a/dak/cruft_report.py +++ b/dak/cruft_report.py @@ -92,8 +92,9 @@ def do_anais(architecture, binaries_list, source, session): WHERE ba.suite = :suiteid AND ba.bin = b.id AND b.architecture = a.id AND b.package = :package""", {'suiteid': suite_id, 'package': binary}) + ql = q.fetchall() versions = [] - for i in q.fetchall(): + for i in ql: arch = i[0] version = i[1] if architectures.has_key(arch): -- 2.39.5