From: Chris Lamb Date: Thu, 29 Oct 2009 18:58:27 +0000 (+0000) Subject: cnf.__getitem__ is not following protocol, but this is an easier fix. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cae38077922be67a896bf99c57274b9467c1592;p=dak cnf.__getitem__ is not following protocol, but this is an easier fix. Signed-off-by: Chris Lamb --- 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(