From: Chris Lamb Date: Fri, 30 Oct 2009 11:53:33 +0000 (+0000) Subject: Fix do_anaias in cruft-report. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07de4301ed6c1a915f76bf189b7b5a61c5c89ea3;p=dak Fix do_anaias in cruft-report. Signed-off-by: Chris Lamb --- 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):