From f6d2b35318aef09ad857e733dde12a068cf7d161 Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 29 May 2023 13:04:35 +0200 Subject: [PATCH] Fix issue with Trust Enum values As `auto()` was not used for `Trust.unknown` it led to wrong data being returned from `trust_color()`. --- libkeyringctl/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libkeyringctl/types.py b/libkeyringctl/types.py index 98222cd..a19c1a9 100644 --- a/libkeyringctl/types.py +++ b/libkeyringctl/types.py @@ -11,7 +11,7 @@ PacketKind = NewType("PacketKind", str) class Trust(Enum): - unknown = auto + unknown = auto() revoked = auto() marginal = auto() full = auto()