mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fix for py3 ec2 cloud tests
This commit is contained in:
parent
215efa6b73
commit
c2f8aef7c5
@ -54,7 +54,8 @@ def latest_version(repo=REPO):
|
|||||||
'''
|
'''
|
||||||
Return the latest version found on the salt repository webpage.
|
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
|
pass
|
||||||
return split_installer(name)[0]
|
return split_installer(name)[0]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user