X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fcruft_report.py;h=4541bf6eb6477c8c09cc91022b8c41636d031ebc;hb=4bb08a11d2dcf16dfe48109bcfe749d0dccab7d9;hp=0a1534c59dfaf8e0c6bedf9478f0133c81a12e8c;hpb=778f521cd0cbd2093896c2476738377dc58e41b7;p=dak.git 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):