diff --git a/web_infrastructure/htpasswd.py b/web_infrastructure/htpasswd.py index 3ad9de6e60f..f1a4e482f3a 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()