]> git.decadent.org.uk Git - dak.git/blobdiff - dak/dakdb/update16.py
Do not include long description in Packages index by default
[dak.git] / dak / dakdb / update16.py
old mode 100755 (executable)
new mode 100644 (file)
index eca9b48..6cd6dc4
@@ -173,6 +173,6 @@ def do_update(self):
         c.execute("UPDATE config SET value = '16' WHERE name = 'db_revision'")
         self.db.commit()
 
-    except psycopg2.ProgrammingError, msg:
+    except psycopg2.ProgrammingError as msg:
         self.db.rollback()
-        raise DBUpdateError, "Unable to apply ACLs update (16), rollback issued. Error message : %s" % (str(msg))
+        raise DBUpdateError("Unable to apply ACLs update (16), rollback issued. Error message : %s" % (str(msg)))