]> git.donarmstrong.com Git - dak.git/blobdiff - dak/dakdb/update12.py
Convert raise statement to Python 2.6.
[dak.git] / dak / dakdb / update12.py
index 1141c5992dc7aae000d6cc728999e717b477be57..21d44a4598103ddc54b2912eb616660f6de74fd4 100755 (executable)
@@ -46,4 +46,4 @@ def do_update(self):
 
     except psycopg2.ProgrammingError as msg:
         self.db.rollback()
-        raise DBUpdateError, "Unable to apply process-new update 12, rollback issued. Error message : %s" % (str(msg))
+        raise DBUpdateError("Unable to apply process-new update 12, rollback issued. Error message : %s" % (str(msg)))