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 <niels@thykier.net>
master
Niels Thykier 8 years ago
parent 5176bbdea0
commit d76ccaca3b

@ -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

Loading…
Cancel
Save