[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] Don't use old style exception syntax



Signed-off-by: Mark Hymers <mhy@debian.org>
---
 dak/dakdb/update67.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dak/dakdb/update67.py b/dak/dakdb/update67.py
index 0255907..7cba583 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)))
-- 
1.7.2.5


Reply to: