From 65780e8988b7bf392815693e1f6bad3b4ea73cef Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Fri, 30 Oct 2009 14:00:01 +0000 Subject: [PATCH] never change things at the last minute... Signed-off-by: Mark Hymers --- dak/dakdb/update20.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dak/dakdb/update20.py b/dak/dakdb/update20.py index 27df549b..f4e34cb9 100755 --- a/dak/dakdb/update20.py +++ b/dak/dakdb/update20.py @@ -84,11 +84,11 @@ def do_update(self): c.execute("ALTER TABLE suite ADD COLUMN policy_queue_id INT4 REFERENCES queue(id) DEFAULT NULL") # Handle some of our common cases automatically if seenqueues.has_key('proposedupdates'): - c.execute("""UPDATE suite SET policy_queue = (SELECT id FROM queue WHERE queue_name = 'proposedupdates') + c.execute("""UPDATE suite SET policy_queue_id = (SELECT id FROM queue WHERE queue_name = 'proposedupdates') WHERE suite_name = 'proposed-updates'""") if seenqueues.has_key('oldproposedupdates'): - c.execute("""UPDATE suite SET policy_queue = (SELECT id FROM queue WHERE queue_name = 'oldproposedupdates') + c.execute("""UPDATE suite SET policy_queue_id = (SELECT id FROM queue WHERE queue_name = 'oldproposedupdates') WHERE suite_name = 'oldstable-proposed-updates'""") print "Committing" -- 2.39.5