From: Ansgar Burchardt Date: Sun, 4 Nov 2012 18:00:11 +0000 (+0100) Subject: dak/make_changelog.py: use correct column name X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78eeea4f01480933a4081a03653b4210f2a3cf32;p=dak dak/make_changelog.py: use correct column name --- diff --git a/dak/make_changelog.py b/dak/make_changelog.py index 1b06134d..e0d1710a 100755 --- a/dak/make_changelog.py +++ b/dak/make_changelog.py @@ -178,7 +178,7 @@ def export_files(session, archive, clpool): JOIN files f ON f.id = s.file JOIN files_archive_map fam ON f.id = fam.file_id AND fam.archive_id = su.id JOIN component c ON fam.component_id = c.id - WHERE su.archive = :archive_id + WHERE su.archive_id = :archive_id ORDER BY s.source, suite""" for p in session.execute(query, {'archive_id': archive.archive_id}):