mirror of
				https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
				synced 2025-11-04 02:24:24 +00:00 
			
		
		
		
	Add missing @property - otherwise "verdict.is_blocked" is always True
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
		
							parent
							
								
									36608194f8
								
							
						
					
					
						commit
						b0e193d955
					
				@ -43,6 +43,7 @@ class PolicyVerdict(Enum):
 | 
			
		||||
    def is_rejected(self):
 | 
			
		||||
        return True if self.name.startswith('REJECTED') else False
 | 
			
		||||
 | 
			
		||||
    @property
 | 
			
		||||
    def is_blocked(self):
 | 
			
		||||
        """Whether the item (probably) needs a fix or manual assistance to migrate"""
 | 
			
		||||
        return self in {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user