[elbe-devel] [PATCH 4/5] elbepack: epgp: compress output of check_signature

Thomas Weißschuh thomas.weissschuh at linutronix.de
Tue Aug 20 11:52:14 CEST 2024


The output can be shown in a single line.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh 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 db7a76afdbb8..c995b2c70fc2 100644
--- a/elbepack/egpg.py
+++ b/elbepack/egpg.py
@@ -89,7 +89,7 @@ def check_signature(ctx, signature):
 
     # there should be a key
     key = ctx.get_key(signature.fpr, 0)
-    print(f'{key.uids[0].name} <{key.uids[0].email}> ({signature.fpr}):')
+    print(f'{key.uids[0].name} <{key.uids[0].email}> ({signature.fpr}): ', end='')
 
     if signature.summary & sigsum.VALID == sigsum.VALID:
         # signature fully valid and trusted

-- 
2.46.0



More information about the elbe-devel mailing list