]> git.decadent.org.uk Git - dak.git/blobdiff - dak/dakdb/update20.py
Reference archive table from suite and add path to archive root
[dak.git] / dak / dakdb / update20.py
index c1424ab2da502aa8c236dcfb4dc2d0f8ba1ad912..0e8ac9d81d8f380b4eb116a2af977bb4696e28b8 100755 (executable)
@@ -59,7 +59,7 @@ def do_update(self):
             c.execute("UPDATE queue SET path = %s WHERE id = %s", (dir, row[0]))
 
         print "Adding missing queues to the queue table"
-        for q in cnf.SubTree("Dir::Queue").keys():
+        for q in cnf.subtree("Dir::Queue").keys():
             qname = q.lower()
             if qname in seenqueues.keys():
                 continue