X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dak%2Fdakdb%2Fupdate28.py;h=f0c62e0e8176ba26c027943f6adde5b36bcf9739;hb=9a4fb568340b14698947bfa59b309ae0c67c693a;hp=c899831ca527784008d29a6ddaf7051e54a9608c;hpb=27e00376e81d1c37ff327ee0d39670b266418869;p=dak.git diff --git a/dak/dakdb/update28.py b/dak/dakdb/update28.py index c899831c..f0c62e0e 100755 --- a/dak/dakdb/update28.py +++ b/dak/dakdb/update28.py @@ -40,7 +40,7 @@ def _suites(): """ return a list of suites to operate on """ - suites = Config().SubTree("Suite").List() + suites = Config().subtree("Suite").list() return suites def arches(cursor, suite): @@ -267,5 +267,5 @@ $$ LANGUAGE plpythonu VOLATILE;""") except psycopg2.ProgrammingError as msg: self.db.rollback() - raise DBUpdateError, "Unable to apply process-new update 28, rollback issued. Error message : %s" % (str(msg)) + raise DBUpdateError("Unable to apply process-new update 28, rollback issued. Error message : %s" % (str(msg)))