Fix for py3 ec2 cloud tests

This commit is contained in:
Daniel A. Wozniak 2018-05-27 14:09:50 -07:00
parent 215efa6b73
commit c2f8aef7c5
No known key found for this signature in database
GPG Key ID: 166B9D2C06C82D61

View File

@ -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]