X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fupdate_db.py;h=5fe6918ab3bae19e9875f2aed1c4716540547e61;hb=e02108d7734b1bec83b842d7b9aac9a94bab7533;hp=fc2e3e17e0fb808b3f7dc1181e80f87f26bf08fd;hpb=abab69847a509e0b50a4b30edaf98d1fbebafe0d;p=dak.git diff --git a/dak/update_db.py b/dak/update_db.py index fc2e3e17..5fe6918a 100755 --- a/dak/update_db.py +++ b/dak/update_db.py @@ -45,7 +45,7 @@ from daklib.dak_exceptions import DBUpdateError Cnf = None projectB = None -required_database_schema = 4 +required_database_schema = 13 ################################################################################ @@ -144,7 +144,7 @@ Updates dak's database schema to the lastest version. You should disable crontab sys.exit(0) for i in range (database_revision, required_database_schema): - print "updating databse schema from " + str(database_revision) + " to " + str(i+1) + print "updating database schema from " + str(database_revision) + " to " + str(i+1) try: dakdb = __import__("dakdb", globals(), locals(), ['update'+str(i+1)]) update_module = getattr(dakdb, "update"+str(i+1))