From: Mark Hymers Date: Fri, 1 Apr 2011 15:52:42 +0000 (+0000) Subject: Pass session X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=f0b8b008b80f66f807e5312189759f285cdf9bc0;p=dak.git Pass session Signed-off-by: Mark Hymers --- diff --git a/dak/show_new.py b/dak/show_new.py index ef4db314..694fddc4 100755 --- a/dak/show_new.py +++ b/dak/show_new.py @@ -154,7 +154,7 @@ def do_pkg(changes_file): session = DBConn().session() u = Upload() u.pkg.changes_file = changes_file - (u.pkg.changes["fingerprint"], rejects) = utils.check_signature(changes_file) + (u.pkg.changes["fingerprint"], rejects) = utils.check_signature(changes_file, session=session) u.load_changes(changes_file) new_queue = get_policy_queue('new', session ); u.pkg.directory = new_queue.path