From: Torsten Werner Date: Mon, 21 Mar 2011 19:18:53 +0000 (+0100) Subject: Really update to DB version #44. X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=07b684fe45eaeb2146414b0d1363e5c2ffda9e76;p=dak.git Really update to DB version #44. Signed-off-by: Torsten Werner --- 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))