]> git.donarmstrong.com Git - dak.git/blobdiff - dak/dakdb/update4.py
Convert raise statement to Python 2.6.
[dak.git] / dak / dakdb / update4.py
index 169653fa4397caa7f4fd9e89b67b873553c419f7..938522ccd83cddacc7d9765cd360c2c6d034f1c5 100755 (executable)
@@ -66,4 +66,4 @@ def do_update(self):
 
     except psycopg2.ProgrammingError as msg:
         self.db.rollback()
-        raise DBUpdateError, "Unable to apply sanity to suite_architecture table, rollback issued. Error message : %s" % (str(msg))
+        raise DBUpdateError("Unable to apply sanity to suite_architecture table, rollback issued. Error message : %s" % (str(msg)))