# coding=utf8
"""
-Pending contents disinguished by arch
+Add constraints to src_uploaders
@contact: Debian FTP Master <ftpmaster@debian.org>
@copyright: 2009 Mark Hymers <mhy@debian.org>
################################################################################
-# * Ganneff ponders how to best write the text to -devel. (need to tell em in
-# case they find more bugs). "We fixed the fucking idiotic broken implementation
-# to be less so" is probably not the nicest, even if perfect valid, way to say so
+# <mhy> oh no, Ganneff has just corrected my english
################################################################################
c.execute("UPDATE config SET value = '10' WHERE name = 'db_revision'")
self.db.commit()
- except psycopg2.ProgrammingError, msg:
+ except psycopg2.ProgrammingError as msg:
self.db.rollback()
- raise DBUpdateError, "Unable to apply suite config updates, rollback issued. Error message : %s" % (str(msg))
+ raise DBUpdateError("Unable to apply suite config updates, rollback issued. Error message : %s" % (str(msg)))