X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fdakdb%2Fupdate21.py;h=41cef6dc8c47d70093aa7af54a1e73b08cc887ec;hb=9a4fb568340b14698947bfa59b309ae0c67c693a;hp=c91b6f1410e4cd486fd6fd4737a84d710326bd45;hpb=57506ea6e65079371445778f63ed15812c3fe874;p=dak.git diff --git a/dak/dakdb/update21.py b/dak/dakdb/update21.py index c91b6f14..41cef6dc 100755 --- 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())