From c60985bd8468aeb96cdef93194d107c2ac819212 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Tue, 25 Jun 2013 16:29:44 -0700 Subject: [PATCH] Remove spaces in fingerprints to match what gpg returns --- gkeyldap/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gkeyldap/cli.py b/gkeyldap/cli.py index 03671b5..6a3e4bb 100644 --- a/gkeyldap/cli.py +++ b/gkeyldap/cli.py @@ -263,6 +263,8 @@ class Main(object): value = get_key_ids(x, values) if len(value): keyid_found = True + elif values and x in ['fingerprint']: + value = [v.replace(' ', '') for v in values] else: value = values if 'undefined' in values: -- 2.26.2