mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-26 21:33:12 +00: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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user