]> git.donarmstrong.com Git - dak.git/blobdiff - dak/dakdb/update17.py
Convert raise statement to Python 2.6.
[dak.git] / dak / dakdb / update17.py
index 8fc3bd058f0cec4c43fb31e31d4603f1f7b46f30..493640eb9ff6a79df097a345d17424a5ebbcc1ad 100755 (executable)
@@ -60,7 +60,7 @@ def do_update(self):
 
     except psycopg2.ProgrammingError as msg:
         self.db.rollback()
-        raise DBUpdateError, "Unable to apply process-new update 17, rollback issued. Error message : %s" % (str(msg))
+        raise DBUpdateError("Unable to apply process-new update 17, rollback issued. Error message : %s" % (str(msg)))