mirror of
				https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
				synced 2025-11-04 10:34:05 +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):
 | 
			
		||||
    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
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user