]> git.decadent.org.uk Git - dak.git/blobdiff - dak/dakdb/update28.py
Reference archive table from suite and add path to archive root
[dak.git] / dak / dakdb / update28.py
index c899831ca527784008d29a6ddaf7051e54a9608c..f0c62e0e8176ba26c027943f6adde5b36bcf9739 100755 (executable)
@@ -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)))