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.policy_queue_id
+ chg.in_queue_id = 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.policy_queue_id
+ chg.in_queue_id = queue.policy_queue_id
session.add(chg)
session.commit()
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()