]> git.donarmstrong.com Git - dak.git/blobdiff - daklib/queue_install.py
in_queue is the object, _id the id
[dak.git] / daklib / queue_install.py
index c048f9ef94d7aab6147f1786f4da30fb60241413..3283e1eff7591bb6ccfcd058b005198f82d9cca4 100644 (file)
@@ -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.policy_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.policy_queue_id
+    chg.in_queue_id = q.policy_queue_id
     session.add(chg)
     session.commit()