From db12f65ea58c1739169373ba66386d437dfc00a4 Mon Sep 17 00:00:00 2001 From: Mike O'Connor Date: Wed, 28 Oct 2009 21:21:15 +0100 Subject: [PATCH] do all binaries, not just the first Signed-off-by: Mike O'Connor --- dak/contents.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dak/contents.py b/dak/contents.py index 834cbccf..4e6ef6b0 100755 --- a/dak/contents.py +++ b/dak/contents.py @@ -238,9 +238,7 @@ class Contents(object): s = DBConn().session() - # for binary in s.query(DBBinary).all() ): - binary = s.query(DBBinary).first() - if binary: + for binary in s.query(DBBinary).all() ): filename = binary.poolfile.filename # Check for existing contents existingq = s.execute( "select 1 from bin_contents where binary_id=:id", {'id':binary.binary_id} ); -- 2.39.5