redhat_subscription: C locale for stdout scraping (#40165)
This commit is contained in:
parent
59e541e31a
commit
ca3390377a
1 changed files with 2 additions and 1 deletions
|
@ -556,7 +556,8 @@ class RhsmPools(object):
|
|||
args += " --consumed"
|
||||
else:
|
||||
args += " --available"
|
||||
rc, stdout, stderr = self.module.run_command(args, check_rc=True)
|
||||
lang_env = dict(LANG='C', LC_ALL='C', LC_MESSAGES='C')
|
||||
rc, stdout, stderr = self.module.run_command(args, check_rc=True, environ_update=lang_env)
|
||||
|
||||
products = []
|
||||
for line in stdout.split('\n'):
|
||||
|
|
Loading…
Reference in a new issue