]> git.decadent.org.uk Git - dak.git/blobdiff - dak/update_db.py
Merge remote branch 'mhy/master'
[dak.git] / dak / update_db.py
index 88ff20f52c1e842bb025da4213349c1d013020bc..fb7f142b11f11db83379002cd3f4af02611f26db 100755 (executable)
@@ -46,7 +46,7 @@ from daklib.daklog import Logger
 ################################################################################
 
 Cnf = None
-required_database_schema = 54
+required_database_schema = 62
 
 ################################################################################
 
@@ -119,7 +119,7 @@ Updates dak's database schema to the lastest version. You should disable crontab
         # Ok, try and find the configuration table
         print "Determining dak database revision ..."
         cnf = Config()
-        logger = Logger(cnf.Cnf, 'update-db')
+        logger = Logger('update-db')
 
         try:
             # Build a connect string