Add missing @property - otherwise "verdict.is_blocked" is always True

Signed-off-by: Niels Thykier <niels@thykier.net>
ubuntu/rebased
Niels Thykier 7 years ago
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…
Cancel
Save