From 0cae38077922be67a896bf99c57274b9467c1592 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Thu, 29 Oct 2009 18:58:27 +0000 Subject: [PATCH] cnf.__getitem__ is not following protocol, but this is an easier fix. Signed-off-by: Chris Lamb --- daklib/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/queue.py b/daklib/queue.py index 174c02c8..88cc1f91 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -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( -- 2.39.5