mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-06 10:40:32 -07:00
CmdRunner: missing parameter for get_best_parsable_locale() (#8929)
* CmdRunner: missing parameter for get_best_parsable_locale() * add changelog frag
This commit is contained in:
parent
d356e255e0
commit
4700accbff
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/8929-cmd_runner-bugfix.yml
Normal file
2
changelogs/fragments/8929-cmd_runner-bugfix.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- cmd_runner module utils - call to ``get_best_parsable_locales()`` was missing parameter (https://github.com/ansible-collections/community.general/pull/8929).
|
|
@ -239,7 +239,7 @@ class CmdRunner(object):
|
|||
self.check_rc = check_rc
|
||||
if force_lang == "auto":
|
||||
try:
|
||||
self.force_lang = get_best_parsable_locale()
|
||||
self.force_lang = get_best_parsable_locale(module)
|
||||
except RuntimeWarning:
|
||||
self.force_lang = "C"
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue