File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ flake8==3.5.0
2525funcsigs==1.0.2
2626future==0.16.0
2727git-url-parse==1.1.0
28- idna==2.6
28+ idna==2.7
2929ipaddress==1.0.22
3030Jinja2==2.10
3131jinja2-time==0.2.0
@@ -57,12 +57,12 @@ python-dateutil==2.7.3
5757python-gilt==1.2.1
5858python-vagrant==0.5.15
5959PyYAML==3.12
60- requests==2.18.4
60+ requests==2.19.0
6161sh==1.12.14
6262six==1.11.0
6363tabulate==0.8.2
6464testinfra==1.12.0
6565tree-format==0.1.2
66- urllib3==1.22
66+ urllib3==1.23
6767whichcraft==0.4.1
6868yamllint==1.11.1
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def main(argv):
2222 url = 'https://galaxy.ansible.com/api/v1/platforms/?name=MacOSX'
2323 r = requests .get (url )
2424 json_obj = json .loads (r .text )
25- allowed_versions = set (map (lambda x : str (x ["release" ]), json_obj ))
25+ allowed_versions = set (map (lambda x : str (x ["release" ]), json_obj [ 'results' ] ))
2626
2727 print "ALLOWED:" , list (allowed_versions )
2828 print
You can’t perform that action at this time.
0 commit comments