From c2088004f2c09bd39cb5987ca926570b58c83502 Mon Sep 17 00:00:00 2001 From: Ivo De Decker Date: Wed, 1 Apr 2020 15:55:03 +0000 Subject: [PATCH] is_smooth_update_allowed: strip component from section --- britney2/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/britney2/utils.py b/britney2/utils.py index 5be0e5f..fbae559 100644 --- a/britney2/utils.py +++ b/britney2/utils.py @@ -764,7 +764,8 @@ def compile_nuninst(target_suite, architectures, nobreakall_arches): def is_smooth_update_allowed(binary, smooth_updates): if 'ALL' in smooth_updates: return True - if binary.section in smooth_updates: + section = binary.section.split('/')[-1] + if section in smooth_updates: return True return False