]> git.donarmstrong.com Git - dak.git/blobdiff - dak/dakdb/update28.py
Convert raise statement to Python 2.6.
[dak.git] / dak / dakdb / update28.py
index c899831ca527784008d29a6ddaf7051e54a9608c..1455ee3110284d3cdd4d48effd237f1d0a1fc2d0 100755 (executable)
@@ -267,5 +267,5 @@ $$ LANGUAGE plpythonu VOLATILE;""")
 
     except psycopg2.ProgrammingError as msg:
         self.db.rollback()
-        raise DBUpdateError, "Unable to apply process-new update 28, rollback issued. Error message : %s" % (str(msg))
+        raise DBUpdateError("Unable to apply process-new update 28, rollback issued. Error message : %s" % (str(msg)))