]> git.donarmstrong.com Git - dak.git/blobdiff - dak/dakdb/update21.py
Convert raise statement to Python 2.6.
[dak.git] / dak / dakdb / update21.py
index 2555e4c74715bbf73d9a000f8378172e04a6ecac..c91b6f1410e4cd486fd6fd4737a84d710326bd45 100755 (executable)
@@ -126,4 +126,4 @@ def do_update(self):
 
     except psycopg2.InternalError as msg:
         self.db.rollback()
-        raise DBUpdateError, "Unable to apply queue_build 21, rollback issued. Error message : %s" % (str(msg))
+        raise DBUpdateError("Unable to apply queue_build 21, rollback issued. Error message : %s" % (str(msg)))