]> git.donarmstrong.com Git - dak.git/blobdiff - dak/dakdb/update33.py
Convert raise statement to Python 2.6.
[dak.git] / dak / dakdb / update33.py
index d3867af32471151dfc876c9d1f687d278a16c577..5b0fe110d4dab1dad30ecf27c575d85ccd6db12a 100644 (file)
@@ -52,4 +52,4 @@ def do_update(self):
 
     except psycopg2.ProgrammingError as msg:
         self.db.rollback()
-        raise DBUpdateError, 'Unable to apply build_queue update 33, rollback issued. Error message : %s' % (str(msg))
+        raise DBUpdateError('Unable to apply build_queue update 33, rollback issued. Error message : %s' % (str(msg)))