From: Mike O'Connor Date: Wed, 28 Oct 2009 20:21:15 +0000 (+0100) Subject: do all binaries, not just the first X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=db12f65ea58c1739169373ba66386d437dfc00a4;p=dak.git do all binaries, not just the first Signed-off-by: Mike O'Connor --- 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} );