X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fqueue_install.py;h=3283e1eff7591bb6ccfcd058b005198f82d9cca4;hb=25417639c3b647c2a2ad20cdfb2f00bdf24552e9;hp=9767a5e2dee291eed50ac82873122b172eed1ce1;hpb=e1ebc9d90eba4412cc743131179eb6786030cb03;p=dak.git diff --git a/daklib/queue_install.py b/daklib/queue_install.py index 9767a5e2..3283e1ef 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_id = queue.policy_queue_id session.add(chg) session.commit() @@ -229,7 +229,7 @@ def acknowledge_new(u, summary, short_summary, chg, session): q = get_policy_queue('new', session) u.move_to_queue(q) - chg.in_queue = q.queue_id + chg.in_queue_id = q.policy_queue_id session.add(chg) session.commit()