From 0f8937f2ed57402395e975250cff85332a8ee8b0 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Thu, 9 Apr 2020 21:19:04 +0530 Subject: [PATCH] basic: Update required library message (#68657) Updated missing_required_lib API message. Signed-off-by: Abhijeet Kasurde --- changelogs/fragments/required_lib_message.yml | 2 ++ lib/ansible/module_utils/basic.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/required_lib_message.yml diff --git a/changelogs/fragments/required_lib_message.yml b/changelogs/fragments/required_lib_message.yml new file mode 100644 index 00000000000..4eae38c7f01 --- /dev/null +++ b/changelogs/fragments/required_lib_message.yml @@ -0,0 +1,2 @@ +minor_changes: +- Update required library message with correct grammer in basic.py. diff --git a/lib/ansible/module_utils/basic.py b/lib/ansible/module_utils/basic.py index 185b0ebe072..a4d211f4d40 100644 --- a/lib/ansible/module_utils/basic.py +++ b/lib/ansible/module_utils/basic.py @@ -558,7 +558,7 @@ def missing_required_lib(library, reason=None, url=None): if url: msg += " See %s for more info." % url - msg += (" Please read module documentation and install in the appropriate location." + msg += (" Please read the module documentation and install it in the appropriate location." " If the required library is installed, but Ansible is using the wrong Python interpreter," " please consult the documentation on ansible_python_interpreter") return msg