From: Michael Casadevall Date: Tue, 30 Dec 2008 11:30:25 +0000 (-0500) Subject: fixed update_db not to have a braindead mistake. Don't write code at 1 in the X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4d65e532a06cc2785514cb9c5ebed5e1ec97cc7;p=dak fixed update_db not to have a braindead mistake. Don't write code at 1 in the morning and then submit it for inclusion .... Signed-off-by: Michael Casadevall --- diff --git a/dak/update_db.py b/dak/update_db.py index cda7aeb3..33d3ebb9 100755 --- a/dak/update_db.py +++ b/dak/update_db.py @@ -50,6 +50,7 @@ Updates dak's database schema to the lastest version. You should disable crontab ################################################################################ + def update_db_to_zero(self): # This function will attempt to update a pre-zero database schema to zero @@ -133,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 ################################################################################