From 14a813860d9a02cb28d2b698e50015ba8efedd79 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Wed, 31 Aug 2011 11:00:56 +0100 Subject: [PATCH] Don't use old style exception syntax Signed-off-by: Mark Hymers --- dak/dakdb/update67.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- 2.39.5