From e4d65e532a06cc2785514cb9c5ebed5e1ec97cc7 Mon Sep 17 00:00:00 2001 From: Michael Casadevall Date: Tue, 30 Dec 2008 06:30:25 -0500 Subject: [PATCH] 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 --- dak/update_db.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ################################################################################ -- 2.39.5