]> git.decadent.org.uk Git - dak.git/blobdiff - dak/update_db.py
Don't use Dinstall::BugServer unless it's configured
[dak.git] / dak / update_db.py
index 86f5c2e50d1530a8f6c167448d91c7b728e48f38..aff41bba527e09f86526bfdf2fd8d4652a7dbbe1 100755 (executable)
@@ -46,7 +46,7 @@ from daklib.daklog import Logger
 ################################################################################
 
 Cnf = None
-required_database_schema = 50
+required_database_schema = 61
 
 ################################################################################
 
@@ -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