X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fdakdb%2Fupdate23.py;h=48abf0162df781d6caa47518d5dc6bfa9ae749f2;hb=71c48c6fce3e9f48367a19ed87c2400142c6f722;hp=2201a4ce1600f9c391b83ae036378b78a944b224;hpb=2a9fb3cc44b6ccf139f43019bf5ddc40ab31f6e8;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()