diff options
author | Michael Scherer <misc@redhat.com> | 2016-10-19 13:16:17 +0200 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2016-10-19 08:55:08 -0700 |
commit | 77c635f18bd6dffc3b3d1fe75eebf024673fa8de (patch) | |
tree | ffd0fc42fea47eaad6f5fe7cd9dec1b02ec216a9 | |
parent | 2511500a912e927755227ffc428482028a506cca (diff) | |
download | ansible-modules-core-77c635f18bd6dffc3b3d1fe75eebf024673fa8de.tar.gz |
cleanup import for htpassword module
In order to ease future refactoring, we should avoid importing
'*' from ansible.module_utils.basic.
-rw-r--r-- | web_infrastructure/htpasswd.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web_infrastructure/htpasswd.py b/web_infrastructure/htpasswd.py index 3ad9de6e..f1a4e482 100644 --- a/web_infrastructure/htpasswd.py +++ b/web_infrastructure/htpasswd.py @@ -257,7 +257,8 @@ def main(): # import module snippets -from ansible.module_utils.basic import * +from ansible.module_utils.basic import AnsibleModule +from ansible.module_utils.pycompat24 import get_exception if __name__ == '__main__': main() |