From 43b8debf9bef181c371c015313710ad0f610b40c Mon Sep 17 00:00:00 2001 From: Nihlaeth Date: Wed, 1 Mar 2017 12:42:56 +0100 Subject: [PATCH] fix unquoted dict key (#22105) --- lib/ansible/modules/source_control/github_key.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/source_control/github_key.py b/lib/ansible/modules/source_control/github_key.py index cc54734e004..5f7566a1977 100644 --- a/lib/ansible/modules/source_control/github_key.py +++ b/lib/ansible/modules/source_control/github_key.py @@ -169,7 +169,7 @@ def delete_keys(session, to_delete, check_mode): return for key in to_delete: - session.request('DELETE', API_BASE + '/user/keys/%s' % key[id]) + session.request('DELETE', API_BASE + '/user/keys/%s' % key["id"]) def ensure_key_absent(session, name, check_mode):