X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fdakdb%2Fupdate40.py;h=e3bb89e0570307331e6ab978790a48cc72b9b496;hb=368f71cb16139abf72d1c351b1fe64c5470365cf;hp=a13ec10bf227e5614db5c6bc55ca38841ecc8f5e;hpb=27e00376e81d1c37ff327ee0d39670b266418869;p=dak.git diff --git a/dak/dakdb/update40.py b/dak/dakdb/update40.py old mode 100755 new mode 100644 index a13ec10b..e3bb89e0 --- a/dak/dakdb/update40.py +++ b/dak/dakdb/update40.py @@ -46,4 +46,4 @@ def do_update(self): except psycopg2.ProgrammingError as msg: self.db.rollback() - raise DBUpdateError, 'Unable to apply sick update 40, rollback issued. Error message : %s' % (str(msg)) + raise DBUpdateError('Unable to apply sick update 40, rollback issued. Error message : %s' % (str(msg)))