X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fdakdb%2Fupdate51.py;h=2d4c1a2c22bf849316fb5cac78e156d6be54f66d;hb=e2c4fd7f21c3b33cd7192bded5d6373e0ee90374;hp=02a8fc233b0d057b87a94f4d50388e7e1cd3205f;hpb=27e00376e81d1c37ff327ee0d39670b266418869;p=dak.git diff --git a/dak/dakdb/update51.py b/dak/dakdb/update51.py index 02a8fc23..2d4c1a2c 100755 --- a/dak/dakdb/update51.py +++ b/dak/dakdb/update51.py @@ -55,4 +55,4 @@ def do_update(self): except psycopg2.ProgrammingError as msg: self.db.rollback() - raise DBUpdateError, 'Unable to apply sick update 51, rollback issued. Error message : %s' % (str(msg)) + raise DBUpdateError('Unable to apply sick update 51, rollback issued. Error message : %s' % (str(msg)))