We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d311d3c commit 13c261fCopy full SHA for 13c261f
tests/version_check.py
@@ -22,7 +22,7 @@ def main(argv):
22
url = 'https://galaxy.ansible.com/api/v1/platforms/?name=MacOSX'
23
r = requests.get(url)
24
json_obj = json.loads(r.text)
25
- allowed_versions = set(map(lambda x: str(x["release"]), json_obj))
+ allowed_versions = set(map(lambda x: str(x["release"]), json_obj['results']))
26
27
print "ALLOWED:", list(allowed_versions)
28
print
0 commit comments