]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/queue.py
cnf.__getitem__ is not following protocol, but this is an easier fix.
[dak.git] / daklib / queue.py
index 174c02c8a48f9c4809dd7bbeaf1673547604d875..88cc1f916049558ed63df36d2c86716613851d81 100755 (executable)
@@ -1263,7 +1263,7 @@ class Upload(object):
                 'OldProposedUpdates', 'Embargoed', 'Unembargoed')
 
             for queue in queues:
-                if 'Dir::Queue::%s' % queue not in cnf:
+                if not cnf.get('Dir::Queue::%s' % queue):
                     continue
 
                 queuefile_path = os.path.join(