]> err.no Git - dak/commitdiff
dak/make_changelog.py: use correct column name
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 4 Nov 2012 18:00:11 +0000 (19:00 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 4 Nov 2012 18:00:29 +0000 (19:00 +0100)
dak/make_changelog.py

index 1b06134d4100d4c01af172471f9e4c4564f07e45..e0d1710a6909e88b8c1773fdf9a9d943c7820b76 100755 (executable)
@@ -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}):