One more bug yum non English locales

d7fac82f97
This commit is contained in:
toshihisa 2016-03-16 00:55:50 +09:00
parent a8841e6834
commit 530643a216

View file

@ -657,7 +657,8 @@ def install(module, items, repoq, yum_basecmd, conf_file, en_repos, dis_repos):
changed = True
rc, out, err = module.run_command(cmd)
lang_env = dict(LANG='C', LC_ALL='C', LC_MESSAGES='C')
rc, out, err = module.run_command(cmd, environ_update=lang_env)
if (rc == 1):
for spec in items: