mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-06-10 01:01:34 +00:00
is_smooth_update_allowed: strip component from section
This commit is contained in:
parent
2d34f8220e
commit
c2088004f2
@ -764,7 +764,8 @@ def compile_nuninst(target_suite, architectures, nobreakall_arches):
|
|||||||
def is_smooth_update_allowed(binary, smooth_updates):
|
def is_smooth_update_allowed(binary, smooth_updates):
|
||||||
if 'ALL' in smooth_updates:
|
if 'ALL' in smooth_updates:
|
||||||
return True
|
return True
|
||||||
if binary.section in smooth_updates:
|
section = binary.section.split('/')[-1]
|
||||||
|
if section in smooth_updates:
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user