apt_key lists all keys in uppercase
allow for a little user error
This commit is contained in:
parent
780b5e0bbf
commit
eeb2c240ca
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue