X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fdakdb%2Fupdate21.py;h=41cef6dc8c47d70093aa7af54a1e73b08cc887ec;hb=f308b558967796bd5a43013346d8b204592d9b93;hp=c91b6f1410e4cd486fd6fd4737a84d710326bd45;hpb=6cc75beccd14c9b39621cb5894d67cec24750405;p=dak.git diff --git a/dak/dakdb/update21.py b/dak/dakdb/update21.py old mode 100755 new mode 100644 index c91b6f14..41cef6dc --- a/dak/dakdb/update21.py +++ b/dak/dakdb/update21.py @@ -115,7 +115,7 @@ def do_update(self): cnf = Config() c.execute("""INSERT INTO queue (queue_name, path) VALUES ('buildd', '%s')""" % cnf["Dir::QueueBuild"].rstrip('/')) - for s in cnf.ValueList("Dinstall::QueueBuildSuites"): + for s in cnf.value_list("Dinstall::QueueBuildSuites"): c.execute("""INSERT INTO suite_queue_copy (suite, queue) VALUES ( (SELECT id FROM suite WHERE suite_name = '%s'), (SELECT id FROM queue WHERE queue_name = 'buildd'))""" % s.lower())