mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-29 11:21:31 +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):
|
def is_rejected(self):
|
||||||
return True if self.name.startswith('REJECTED') else False
|
return True if self.name.startswith('REJECTED') else False
|
||||||
|
|
||||||
|
@property
|
||||||
def is_blocked(self):
|
def is_blocked(self):
|
||||||
"""Whether the item (probably) needs a fix or manual assistance to migrate"""
|
"""Whether the item (probably) needs a fix or manual assistance to migrate"""
|
||||||
return self in {
|
return self in {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user