summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Scherer <misc@redhat.com>2016-10-19 13:25:43 +0200
committerToshio Kuratomi <a.badger@gmail.com>2016-10-19 08:53:53 -0700
commit1bc6c2ce46677a7a9181091cfc3e0d12ede526c5 (patch)
treeaafd6f7d9b667ca601831d1429973d3763e77ec5
parent730f26d52f01beee88b68aae0a5834d27f05e3a5 (diff)
downloadansible-modules-core-1bc6c2ce46677a7a9181091cfc3e0d12ede526c5.tar.gz
Cleanup import for authorized_key
Do not import '*', to ease future refactoring and cleanup of module_utils. (cherry picked from commit 2511500a912e927755227ffc428482028a506cca)
-rw-r--r--system/authorized_key.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/authorized_key.py b/system/authorized_key.py
index 3435cfc9..fabc7af3 100644
--- a/system/authorized_key.py
+++ b/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()