]> git.donarmstrong.com Git - dak.git/blobdiff - dak/dakdb/update32.py
Convert raise statement to Python 2.6.
[dak.git] / dak / dakdb / update32.py
index c0882fb1ccfb42c5f62c23bdd938baef3902094e..59355c91a3af811c063caed8e8365767da7f3329 100755 (executable)
@@ -46,5 +46,5 @@ def do_update(self):
 
     except psycopg2.ProgrammingError as msg:
         self.db.rollback()
-        raise DBUpdateError, "Unable to apply build_queue update 32, rollback issued. Error message : %s" % (str(msg))
+        raise DBUpdateError("Unable to apply build_queue update 32, rollback issued. Error message : %s" % (str(msg)))