[dak/master] cnf.__getitem__ is not following protocol, but this is an easier fix.
Signed-off-by: Chris Lamb <lamby@debian.org>
---
daklib/queue.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/daklib/queue.py b/daklib/queue.py
index 174c02c..88cc1f9 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(
--
1.6.3.3
Reply to: