]> git.donarmstrong.com Git - dak.git/blobdiff - dak/dakdb/update31.py
Convert raise statement to Python 2.6.
[dak.git] / dak / dakdb / update31.py
index dc4245cce87a156a2d4b5e1bc5f49f27a2b04fdb..7209178b3ca0a6d3347e2c8d4bd189264fe00f42 100644 (file)
@@ -96,5 +96,5 @@ $$ LANGUAGE plpythonu VOLATILE SECURITY DEFINER;
 
     except psycopg2.ProgrammingError as msg:
         self.db.rollback()
-        raise DBUpdateError, "Unable to apply process-new update 31, rollback issued. Error message : %s" % (str(msg))
+        raise DBUpdateError("Unable to apply process-new update 31, rollback issued. Error message : %s" % (str(msg)))