From 5ab2c8410a9d7aed3dfc065e4f06afca4a4a6589 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 12 Aug 2012 16:30:25 +0200 Subject: [PATCH] dak/generate_packages_sources2.py: remove .all() when we need the query object --- dak/generate_packages_sources2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dak/generate_packages_sources2.py b/dak/generate_packages_sources2.py index 0d78d2d0..478aadf1 100755 --- a/dak/generate_packages_sources2.py +++ b/dak/generate_packages_sources2.py @@ -346,7 +346,7 @@ def main(): print "I: Cannot find suite %s" % s logger.log(['Cannot find suite %s' % s]) else: - query = session.query(Suite).filter(Suite.untouchable == False).all() + query = session.query(Suite).filter(Suite.untouchable == False) if 'Archive' in Options: query = query.join(Suite.archive).filter(Archive.archive_name==Options['Archive']) suites = query.all() -- 2.39.5