[elbe-devel] [PATCH] egpg: Add missing import
Bastian Germann
bage at linutronix.de
Wed Apr 12 18:14:57 CEST 2023
CommandError was introduced without importing it.
Add the missing import.
Fixes: 3251954d6b ("egpg: Implement unarmor_openpgp_keyring")
Signed-off-by: Bastian Germann <bage at linutronix.de>
---
elbepack/egpg.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elbepack/egpg.py b/elbepack/egpg.py
index 1e9291d5fb..cfdb07998d 100644
--- a/elbepack/egpg.py
+++ b/elbepack/egpg.py
@@ -13,7 +13,7 @@ from gpg.constants import sigsum, sig, PROTOCOL_OpenPGP
from gpg.errors import GPGMEError, KeyNotFound, InvalidSigners
from elbepack.filesystem import hostfs
-from elbepack.shellhelper import get_command_out, system
+from elbepack.shellhelper import CommandError, get_command_out, system
elbe_internal_key_param = """
<GnupgKeyParms format="internal">
--
2.39.2
More information about the elbe-devel
mailing list