]> git.decadent.org.uk Git - dak.git/commitdiff
in_queue is the object, _id the id
authorMark Hymers <mhy@debian.org>
Sat, 31 Oct 2009 21:41:33 +0000 (21:41 +0000)
committerMark Hymers <mhy@debian.org>
Sat, 31 Oct 2009 21:41:33 +0000 (21:41 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/process_upload.py
daklib/queue_install.py

index e48b54e26537c6c3b65ed5f59a5fa42834d04d8d..ddf9b1c070e3ee0a3690d79a5c25f84804a6b5a4 100755 (executable)
@@ -292,7 +292,7 @@ def action(u, session):
         if not chg:
             chg = u.pkg.add_known_changes(holding.holding_dir, session)
         u.move_to_queue(policyqueue)
-        chg.in_queue = policyqueue.policy_queue_id
+        chg.in_queue_id = policyqueue.policy_queue_id
         session.add(chg)
         session.commit()
         u.remove()
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()