]> git.donarmstrong.com Git - dak.git/blobdiff - dak/dakdb/update20.py
Convert raise statement to Python 2.6.
[dak.git] / dak / dakdb / update20.py
index 70572fcb0917547f92171d57fbacdde2b19538c0..c1424ab2da502aa8c236dcfb4dc2d0f8ba1ad912 100755 (executable)
@@ -97,4 +97,4 @@ def do_update(self):
 
     except psycopg2.InternalError as msg:
         self.db.rollback()
-        raise DBUpdateError, "Unable to apply debversion update 20, rollback issued. Error message : %s" % (str(msg))
+        raise DBUpdateError("Unable to apply debversion update 20, rollback issued. Error message : %s" % (str(msg)))