From: Mark Hymers Date: Sun, 1 Nov 2009 09:55:44 +0000 (+0000) Subject: use central function instead of reimplementing X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=ea7f63ac132d97bcafef74aac739788262086bcd;p=dak.git use central function instead of reimplementing Signed-off-by: Mark Hymers --- 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: