mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #47853 from dwoz/py3-cloud-test
Fix for py3 ec2 cloud tests
This commit is contained in:
commit
4b28e510f1
1 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,8 @@ def latest_version(repo=REPO):
|
|||
'''
|
||||
Return the latest version found on the salt repository webpage.
|
||||
'''
|
||||
for name, md5 in iter_installers(requests.get(repo).content):
|
||||
content = requests.get(repo).content.decode('utf-8')
|
||||
for name, md5 in iter_installers(content):
|
||||
pass
|
||||
return split_installer(name)[0]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue