X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fmake_changelog.py;h=a6f4e192e72c14f9b43dece8b471595478b3afe3;hb=c9398d303256dfedc13975b79b6b691048cfcc05;hp=124020ee4f77c13ad77b20bb27022ccda1b227be;hpb=707183e8538ece020a741fee60e56c73ae3a61c6;p=dak.git diff --git a/dak/make_changelog.py b/dak/make_changelog.py old mode 100644 new mode 100755 index 124020ee..a6f4e192 --- a/dak/make_changelog.py +++ b/dak/make_changelog.py @@ -134,7 +134,7 @@ def get_binary_uploads(suite, base_suite, session): JOIN base b on b.source = c.source JOIN cur_suite cs ON cs.source = c.source WHERE c.version > b.version - AND c.version <= cs.version + AND c.version <= cs.version AND c.architecture = b.arch_string AND c.architecture = cs.arch_string ORDER BY c.source, c.version DESC, c.architecture""" @@ -171,12 +171,12 @@ def main(): uploads = get_binary_uploads(suite, base_suite, session) session.commit() for upload in uploads: - print upload[3] + print upload[3] + "\n" else: uploads = get_source_uploads(suite, base_suite, session) session.commit() for upload in uploads: - print upload[2] + print upload[2] + "\n" if __name__ == '__main__': main()