X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=daklib%2Fqueue_install.py;h=c048f9ef94d7aab6147f1786f4da30fb60241413;hb=6a04540642478715650bd496d522f42f9f6e7434;hp=b4a38b96e4488ff697745bcf86382b9ee9ce27c0;hpb=bf38dcbe75f32f221887eeda8fce0e81e64db115;p=dak.git diff --git a/daklib/queue_install.py b/daklib/queue_install.py index b4a38b96..c048f9ef 100644 --- a/daklib/queue_install.py +++ b/daklib/queue_install.py @@ -61,7 +61,7 @@ def package_to_queue(u, summary, short_summary, queue, chg, session, announce=No u.logger.log(["Moving to %s" % queue.queue_name, u.pkg.changes_file]) u.move_to_queue(queue) - chg.in_queue = queue.queue_id + chg.in_queue = queue.policy_queue_id session.add(chg) session.commit() @@ -209,7 +209,7 @@ def is_byhand(u): def do_byhand(u, summary, short_summary, chg, session): return package_to_queue(u, summary, short_summary, - get_queue('byhand'), chg, session, + get_policy_queue('byhand'), chg, session, announce=None) ################################################################################ @@ -226,10 +226,10 @@ def acknowledge_new(u, summary, short_summary, chg, session): print "Moving to NEW queue." u.logger.log(["Moving to new", u.pkg.changes_file]) - q = get_queue('new', session) + q = get_policy_queue('new', session) u.move_to_queue(q) - chg.in_queue = q.queue_id + chg.in_queue = q.policy_queue_id session.add(chg) session.commit()