diff --git a/daklib/queue.py b/daklib/queue.py index d73b4797732bc278a64996661d9c1934b6783b92..174c02c8a48f9c4809dd7bbeaf1673547604d875 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -1263,11 +1263,11 @@ class Upload(object): 'OldProposedUpdates', 'Embargoed', 'Unembargoed') for queue in queues: - if 'Dir::Queue::%s' % directory not in cnf: + if 'Dir::Queue::%s' % queue not in cnf: continue queuefile_path = os.path.join( - cnf['Dir::Queue::%s' % directory], filename + cnf['Dir::Queue::%s' % queue], filename ) if not os.path.exists(queuefile_path):