From 197e590d7c7179048307caccb0989d3743e92fdd Mon Sep 17 00:00:00 2001 From: Matthew Gamble Date: Wed, 23 Mar 2016 19:22:18 +1100 Subject: [PATCH] Small comment improvement in AnsibleModule class --- lib/ansible/module_utils/basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/basic.py b/lib/ansible/module_utils/basic.py index fe9647265dd..fa2306f1974 100644 --- a/lib/ansible/module_utils/basic.py +++ b/lib/ansible/module_utils/basic.py @@ -546,7 +546,7 @@ class AnsibleModule(object): self.aliases = self._handle_aliases() except Exception: e = get_exception() - # use exceptions here cause its not safe to call vail json until no_log is processed + # Use exceptions here because it isn't safe to call fail_json until no_log is processed print('{"failed": true, "msg": "Module alias error: %s"}' % str(e)) sys.exit(1)