From 07b684fe45eaeb2146414b0d1363e5c2ffda9e76 Mon Sep 17 00:00:00 2001 From: Torsten Werner Date: Mon, 21 Mar 2011 20:18:53 +0100 Subject: [PATCH] Really update to DB version #44. Signed-off-by: Torsten Werner --- dak/dakdb/update44.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dak/dakdb/update44.py b/dak/dakdb/update44.py index b9c7f584..465f2fce 100755 --- a/dak/dakdb/update44.py +++ b/dak/dakdb/update44.py @@ -44,9 +44,9 @@ def do_update(self): for table in ('pending_bin_contents', 'deb_contents', 'udeb_contents'): c.execute("DROP TABLE %s" % table) - c.execute("UPDATE config SET value = '43' WHERE name = 'db_revision'") + c.execute("UPDATE config SET value = '44' WHERE name = 'db_revision'") self.db.commit() except psycopg2.ProgrammingError, msg: self.db.rollback() - raise DBUpdateError, 'Unable to apply sick update 43, rollback issued. Error message : %s' % (str(msg)) + raise DBUpdateError, 'Unable to apply sick update 44, rollback issued. Error message : %s' % (str(msg)) -- 2.39.5