X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fdakdb%2Fupdate44.py;h=465f2fce6a86a1ef65475052fad7937615d8b8ca;hb=144898960af3c564c0a93203cafff457636d2163;hp=b9c7f5847e5726a11535452150cbb82443fe2b44;hpb=79435b6fcb5a7e543642a489062ed1d044eb7624;p=dak.git 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))