]> git.decadent.org.uk Git - dak.git/blobdiff - dak/update_db.py
Merge commit 'origin/master' into dm_upload_allowed
[dak.git] / dak / update_db.py
index 665724e9520c32895a78f9e26f0ceb1ce51dcbe1..dc943503900a672920063f8fca40189d4a81d9e2 100755 (executable)
@@ -115,7 +115,7 @@ Updates dak's database schema to the lastest version. You should disable crontab
             print "Please make sure you have a database backup handy. If you don't, press Ctrl-C now!"
             print ""
             print "Continuing in five seconds ..."
-            #time.sleep(5)
+            time.sleep(5)
             print ""
             print "Attempting to upgrade pre-zero database to zero"
 
@@ -134,7 +134,7 @@ Updates dak's database schema to the lastest version. You should disable crontab
             dakdb = __import__("dakdb", globals(), locals(), ['update'+str(i+1)])
             update_module = getattr(dakdb, "update"+str(i+1))
             update_module.do_update(self)
-            database_revision =+ 1
+            database_revision += 1
 
 ################################################################################