From 4cc353296af3f5485a653f220883cc1457cbbd38 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 12 Nov 2014 12:08:46 +0000 Subject: [PATCH] When merging binaries, count a binary as built in unstable if the testing architecture is architecture-dependent and the unstable architecture is architecture-independent. --- britney.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/britney.py b/britney.py index 05ffc04..b4f26fc 100755 --- a/britney.py +++ b/britney.py @@ -629,8 +629,9 @@ class Britney(object): binpkg, binarch = b.split('/') if binarch == arch: target_value = target_binaries[binpkg] - if current_arch in ( - target_value[ARCHITECTURE], "all"): + target_arch = target_value[ARCHITECTURE] + if (current_arch in (target_arch, "all") or + target_arch == "all"): built = True break if built: