X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fmake_changelog.py;h=e0d1710a6909e88b8c1773fdf9a9d943c7820b76;hb=abcd0f018dc49a218ce70d22e97fc7b654fcf1c8;hp=dbcbf576c8381c790f697fec0740cddfa45a73e4;hpb=80a6a79b8b82ec9bda2fa68f69ce611048a4d110;p=dak.git diff --git a/dak/make_changelog.py b/dak/make_changelog.py index dbcbf576..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}): @@ -258,7 +258,7 @@ def main(): Cnf = utils.get_conf() cnf = Config() Arguments = [('h','help','Make-Changelog::Options::Help'), - ('a','archive','Make-Changelog::Options::Help','HasArg'), + ('a','archive','Make-Changelog::Options::Archive','HasArg'), ('s','suite','Make-Changelog::Options::Suite','HasArg'), ('b','base-suite','Make-Changelog::Options::Base-Suite','HasArg'), ('n','binnmu','Make-Changelog::Options::binNMU'),