From: Mark Hymers Date: Wed, 31 Aug 2011 10:00:56 +0000 (+0100) Subject: Don't use old style exception syntax X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=14a813860d9a02cb28d2b698e50015ba8efedd79;p=dak.git Don't use old style exception syntax Signed-off-by: Mark Hymers --- diff --git a/dak/dakdb/update67.py b/dak/dakdb/update67.py index 0255907e..7cba5832 100755 --- a/dak/dakdb/update67.py +++ b/dak/dakdb/update67.py @@ -196,4 +196,4 @@ SET search_path = public, pg_temp"""); except psycopg2.ProgrammingError, msg: self.db.rollback() - raise DBUpdateError, 'Unable to apply sick update 66, rollback issued. Error message : %s' % (str(msg)) + raise DBUpdateError('Unable to apply sick update 66, rollback issued. Error message : %s' % (str(msg)))