summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2016-10-22 09:29:47 -0700
committerToshio Kuratomi <a.badger@gmail.com>2016-10-22 09:55:40 -0700
commit1182d1f0b76d56f3667e27987a10b9ec8f03357d (patch)
tree5f1a3dee327fdf170d71e07c250ed232f3ae0487
parentac314a5e3db5fc7d8a6953775f9b00c3ed4f5451 (diff)
downloadansible-modules-core-1182d1f0b76d56f3667e27987a10b9ec8f03357d.tar.gz
Order of return values was reversed
-rw-r--r--packaging/os/apt_key.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/os/apt_key.py b/packaging/os/apt_key.py
index 656f6e46..7822578d 100644
--- a/packaging/os/apt_key.py
+++ b/packaging/os/apt_key.py
@@ -288,7 +288,7 @@ def main():
short_format = False
if key_id:
try:
- key_id, fingerprint, short_key_id = parse_key_id(key_id)
+ short_key_id, fingerprint, key_id = parse_key_id(key_id)
except ValueError:
module.fail_json(msg='Invalid key_id', id=key_id)