From 2c078dcb97457d3140d3cd2e83b0d8a214102e95 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Wed, 19 Oct 2016 13:25:43 +0200 Subject: [PATCH] Cleanup import for authorized_key Do not import '*', to ease future refactoring and cleanup of module_utils. --- lib/ansible/modules/system/authorized_key.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/system/authorized_key.py b/lib/ansible/modules/system/authorized_key.py index 3435cfc9d3c..fabc7af3c1f 100644 --- a/lib/ansible/modules/system/authorized_key.py +++ b/lib/ansible/modules/system/authorized_key.py @@ -491,6 +491,7 @@ def main(): module.exit_json(**results) # import module snippets -from ansible.module_utils.basic import * -from ansible.module_utils.urls import * +from ansible.module_utils.basic import AnsibleModule +from ansible.module_utils.urls import fetch_url +from ansible.module_utils.pycompat24 import get_exception main()