Merge pull request #7022 from jjshoe/patch-1

apt_key lists all keys in uppercase
This commit is contained in:
James Cammarata 2014-04-23 15:58:23 -05:00
commit 46c0eb2f3e

View file

@ -210,6 +210,7 @@ def main():
_ = int(key_id, 16) _ = int(key_id, 16)
if key_id.startswith('0x'): if key_id.startswith('0x'):
key_id = key_id[2:] key_id = key_id[2:]
key_id = key_id.upper()
except ValueError: except ValueError:
module.fail_json(msg="Invalid key_id", id=key_id) module.fail_json(msg="Invalid key_id", id=key_id)