X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fdakdb%2Fupdate23.py;h=48abf0162df781d6caa47518d5dc6bfa9ae749f2;hb=7f4d35fbb32109cc31edc50b054035e133e4bb52;hp=2201a4ce1600f9c391b83ae036378b78a944b224;hpb=20dded05d7fae3bf52500a1543aa561dec2d62b6;p=dak.git diff --git a/dak/dakdb/update23.py b/dak/dakdb/update23.py old mode 100644 new mode 100755 index 2201a4ce..48abf016 --- a/dak/dakdb/update23.py +++ b/dak/dakdb/update23.py @@ -54,9 +54,9 @@ CREATE VIEW srcfiles_suite_component AS JOIN location ON files.location = location.id; """) - print "Committing" - c.execute("UPDATE config SET value = '23' WHERE name = 'db_revision'") - self.db.commit() + print "Committing" + c.execute("UPDATE config SET value = '23' WHERE name = 'db_revision'") + self.db.commit() except psycopg2.InternalError, msg: self.db.rollback()