From 519c1dbf89c13557afc15a429164616ac563d379 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sat, 16 Jan 2016 16:14:06 +0100 Subject: [PATCH] Debug suites might also miss the source package If a binary-only upload including debug packages gets accepted from a policy queue, the source might be missing from the debug suite. Reported-by: Matthias Klumpp --- dak/process_policy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dak/process_policy.py b/dak/process_policy.py index 7b6b9645..8966dd6a 100755 --- a/dak/process_policy.py +++ b/dak/process_policy.py @@ -195,9 +195,9 @@ def comment_accept(upload, srcqueue, comments, transaction): if debug_suite is not None and is_debug_binary(db_binary): copy_to_suite = debug_suite - # build queues may miss the source package if this is a - # binary-only upload. - if suite != upload.target_suite: + # build queues and debug suites may miss the source package + # if this is a binary-only upload. + if copy_to_suite != upload.target_suite: transaction.copy_source( db_binary.source, copy_to_suite, -- 2.39.2