From d76ccaca3bf17c2cfdc1c31e9eb24e13fac83a32 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Tue, 5 Jul 2016 07:59:26 +0000 Subject: [PATCH] Show missing builds for age-less items in excuses.html For items not having an age requirements (e.g. urgency=critical) always list the "missing build" note if present. Signed-off-by: Niels Thykier --- britney.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/britney.py b/britney.py index e62219a..0215a22 100755 --- a/britney.py +++ b/britney.py @@ -1649,7 +1649,8 @@ class Britney(object): update_candidate = False excuse.missing_build_on_arch(arch) - if 'age' in policy_info and policy_info['age']['current-age']: + if 'age' in policy_info and (policy_info['age']['current-age'] or + not policy_info['age']['age-requirement']): excuse.addhtml(text) # if the source package has no binaries, set update_candidate to False to block the update