Remove spaces in fingerprints to match what gpg returns
authorBrian Dolbec <dolsen@gentoo.org>
Tue, 25 Jun 2013 23:29:44 +0000 (16:29 -0700)
committerBrian Dolbec <dolsen@gentoo.org>
Sat, 6 Jul 2013 18:16:51 +0000 (11:16 -0700)
gkeyldap/cli.py

index 03671b54213bc78a5a8be4c7c24485b0d94c7277..6a3e4bb331737df9692309ccf9623a040f9e9a1a 100644 (file)
@@ -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: