Fix issue with Trust Enum values

As `auto()` was not used for `Trust.unknown` it led to wrong data being
returned from `trust_color()`.
This commit is contained in:
David Runge 2023-05-29 13:04:35 +02:00
parent cd9536f76a
commit f6d2b35318
No known key found for this signature in database
GPG Key ID: 139B09DA5BF0D338

View File

@ -11,7 +11,7 @@ PacketKind = NewType("PacketKind", str)
class Trust(Enum): class Trust(Enum):
unknown = auto unknown = auto()
revoked = auto() revoked = auto()
marginal = auto() marginal = auto()
full = auto() full = auto()