X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fshow_new.py;h=3c0b046738017f003b7f264d3d493a612b28d764;hb=12aa2490c932a28cdd6634ce0ba1925d451f1cba;hp=9cb0890199d7210a985f6eee946c9d3d7f3288b7;hpb=f359753e69e91614c500b0b00520ebdf739decb0;p=dak.git diff --git a/dak/show_new.py b/dak/show_new.py index 9cb08901..3c0b0467 100755 --- a/dak/show_new.py +++ b/dak/show_new.py @@ -170,6 +170,7 @@ def do_pkg(changes_file): else: u.source_file_checks(deb_filename, session) u.check_source_against_db(deb_filename, session) + session.close() u.pkg.changes["suite"] = u.pkg.changes["distribution"] new = determine_new(u.pkg.changes, files, 0) @@ -197,7 +198,8 @@ def do_pkg(changes_file): print >> outfile, examine_package.check_deb(distribution, fn) print >> outfile, html_footer() - session.close() + + outfile.close() ################################################################################