]> git.donarmstrong.com Git - dak.git/blobdiff - dak/dakdb/update9.py
Convert raise statement to Python 2.6.
[dak.git] / dak / dakdb / update9.py
index 20af71fd23f9e151b3b935f44bcb855328a00f43..bbdd212206653ab7b525d19282187c64c9604fee 100755 (executable)
@@ -59,4 +59,4 @@ def do_update(self):
 
     except psycopg2.ProgrammingError as msg:
         self.db.rollback()
-        raise DBUpdateError, "Unable to apply suite config updates, rollback issued. Error message : %s" % (str(msg))
+        raise DBUpdateError("Unable to apply suite config updates, rollback issued. Error message : %s" % (str(msg)))