X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fdakdb%2Fupdate21.py;h=41cef6dc8c47d70093aa7af54a1e73b08cc887ec;hb=707a89a3b86961755a99cb9e1a0a5f23690f9529;hp=c91b6f1410e4cd486fd6fd4737a84d710326bd45;hpb=1c2f5f4048b36efb345a3aa96b20d60dc7af1990;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())