From ea7f63ac132d97bcafef74aac739788262086bcd Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Sun, 1 Nov 2009 09:55:44 +0000 Subject: [PATCH] use central function instead of reimplementing Signed-off-by: Mark Hymers --- dak/process_upload.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dak/process_upload.py b/dak/process_upload.py index ddf9b1c0..98c05a5a 100755 --- a/dak/process_upload.py +++ b/dak/process_upload.py @@ -291,9 +291,7 @@ def action(u, session): elif answer == 'P': if not chg: chg = u.pkg.add_known_changes(holding.holding_dir, session) - u.move_to_queue(policyqueue) - chg.in_queue_id = policyqueue.policy_queue_id - session.add(chg) + package_to_queue(u, summary, short_summary, policy_queue, chg, session) session.commit() u.remove() elif answer == queuekey: -- 2.39.5