[dak/master] 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 <sonicmctails@gmail.com>
---
dak/update_db.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dak/update_db.py b/dak/update_db.py
index cda7aeb..33d3ebb 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
################################################################################
--
1.5.6.5
Reply to: