]> git.donarmstrong.com Git - dak.git/blobdiff - dak/dakdb/update37.py
Convert raise statement to Python 2.6.
[dak.git] / dak / dakdb / update37.py
index 136f464976d45c737a5fb2b119446fcdb9164921..7ab52e04ca52ab9580d700822392c9826a97d772 100755 (executable)
@@ -54,4 +54,4 @@ def do_update(self):
 
     except psycopg2.ProgrammingError as msg:
         self.db.rollback()
-        raise DBUpdateError, 'Unable to apply table-colum update 37, rollback issued. Error message : %s' % (str(msg))
+        raise DBUpdateError('Unable to apply table-colum update 37, rollback issued. Error message : %s' % (str(msg)))