]> git.decadent.org.uk Git - dak.git/commitdiff
Pass session
authorMark Hymers <mhy@debian.org>
Fri, 1 Apr 2011 15:52:42 +0000 (15:52 +0000)
committerMark Hymers <mhy@debian.org>
Fri, 1 Apr 2011 15:52:42 +0000 (15:52 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/show_new.py

index ef4db31437bab060b3818d2eb61331fa67170e2b..694fddc493c0f1bfd193286caed3083a78503a4d 100755 (executable)
@@ -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