X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dak%2Fdakdb%2Fupdate19.py;h=5186ded626654768cbe830e89792eea63033ebe8;hb=27e00376e81d1c37ff327ee0d39670b266418869;hp=49a4dbc71f24b5234e63e15fdabaf65b4b9826d5;hpb=e956742235d6272e38424dc0c89b883153e776b7;p=dak.git diff --git a/dak/dakdb/update19.py b/dak/dakdb/update19.py index 49a4dbc7..5186ded6 100755 --- a/dak/dakdb/update19.py +++ b/dak/dakdb/update19.py @@ -102,6 +102,6 @@ def do_update(self): c.execute("UPDATE config SET value = '19' WHERE name = 'db_revision'") self.db.commit() - except psycopg2.InternalError, msg: + except psycopg2.InternalError as msg: self.db.rollback() raise DBUpdateError, "Unable to apply debversion update 19, rollback issued. Error message : %s" % (str(msg))