X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fdakdb%2Fupdate6.py;h=4537579a20f9efe9ed20dbb959ce18a3402122e7;hb=b76e444e5b6d03e45886e8c351420508e00655dc;hp=514a4e871b4c4abaaa19b48f48e277e46bfbfb2f;hpb=5fa6a052ea791880a4875ee1e2113d8da7b0b360;p=dak.git diff --git a/dak/dakdb/update6.py b/dak/dakdb/update6.py index 514a4e87..4537579a 100644 --- a/dak/dakdb/update6.py +++ b/dak/dakdb/update6.py @@ -82,14 +82,9 @@ def do_update(self): c.execute( "CREATE INDEX content_assocaitions_binary ON content_associations(binary_pkg)" ) - c.execute("UPDATE config SET value = '2' WHERE name = 'db_revision'") + c.execute("UPDATE config SET value = '6' WHERE name = 'db_revision'") self.db.commit() - print "REMINDER: Remember to fully regenerate the Contents files before running import-contents" - print "" - print "Pausing for five seconds ..." - time.sleep (5) - except psycopg2.ProgrammingError, msg: self.db.rollback() raise DBUpdateError, "Unable to appy debversion updates, rollback issued. Error message : %s" % (str(msg))