mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Ensure standard locale in run_command (group3-batch3) (#11741)
* run_command locale group3 batch3: normalise to LANGUAGE=C, LC_ALL=C Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix changelog fragment: bugfixes, American English, separate code spans Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix changelog fragment: correct PR number (11741) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -931,7 +931,7 @@ class RhsmPools:
|
||||
args += " --consumed"
|
||||
else:
|
||||
args += " --available"
|
||||
lang_env = dict(LANG="C", LC_ALL="C", LC_MESSAGES="C")
|
||||
lang_env = dict(LANGUAGE="C", LC_ALL="C")
|
||||
rc, stdout, stderr = self.module.run_command(args, check_rc=True, environ_update=lang_env)
|
||||
|
||||
products = []
|
||||
|
||||
Reference in New Issue
Block a user