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