mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
parent
07c9d040c0
commit
47c3d03035
@ -261,7 +261,8 @@ def latest_version(*names, **kwargs):
|
|||||||
if isinstance(repo, list):
|
if isinstance(repo, list):
|
||||||
cmd = cmd + repo
|
cmd = cmd + repo
|
||||||
out = __salt__['cmd.run_all'](cmd, python_shell=False,
|
out = __salt__['cmd.run_all'](cmd, python_shell=False,
|
||||||
output_loglevel='trace')
|
output_loglevel='trace',
|
||||||
|
env={'LC_ALL': 'C', 'LANG': 'C'})
|
||||||
candidate = ''
|
candidate = ''
|
||||||
for line in out['stdout'].splitlines():
|
for line in out['stdout'].splitlines():
|
||||||
if 'Candidate' in line:
|
if 'Candidate' in line:
|
||||||
|
Loading…
Reference in New Issue
Block a user