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