[dak/master 09/11] Fix do_anaias in cruft-report.
Signed-off-by: Chris Lamb <lamby@debian.org>
---
dak/cruft_report.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dak/cruft_report.py b/dak/cruft_report.py
index 0a1534c..4541bf6 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):
--
1.6.3.3
Reply to: