From 4f5ce8467a1c46900779c9ac1de9204acc2a6d3c Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Wed, 11 Nov 2009 00:39:13 +0100 Subject: [PATCH] call do_new and action Signed-off-by: Joerg Jaspert --- dak/process_new.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dak/process_new.py b/dak/process_new.py index 3028edbb..36340d27 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -865,6 +865,7 @@ def do_pkg(changes_file, session): new_queue = get_policy_queue('new', session ); u = Upload() u.pkg.changes_file = changes_file + (u.pkg.changes["fingerprint"], rejects) = utils.check_signature(changes_file) u.load_changes(changes_file) u.pkg.directory = new_queue.path u.update_subst() @@ -885,8 +886,13 @@ def do_pkg(changes_file, session): if not recheck(u, session): return - do_new(u,session) - + # FIXME: This does need byhand checks added! + print "files is %s" % (u.pkg.files) + new = determine_new(changes_file, files) + if new: + do_new(u, session) + else: + do_accept(u) # (new, byhand) = check_status(files) # if new or byhand: # if new: -- 2.39.5