Signed-off-by: Mark Hymers <mhy@debian.org>
if not chg:
chg = u.pkg.add_known_changes(holding.holding_dir, session)
u.move_to_queue(policyqueue)
- chg.in_queue = policyqueue.queue_id
+ chg.in_queue = policyqueue.policy_queue_id
session.add(chg)
session.commit()
u.remove()
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()
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()