[dak/master 04/16] do all binaries, not just the first
Signed-off-by: Mike O'Connor <stew@vireo.org>
---
dak/contents.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/dak/contents.py b/dak/contents.py
index 834cbcc..4e6ef6b 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} );
--
1.6.5
Reply to: