Set this request to verify. There's no reason not to, and it gets rid of the insecure urllib3 spew.

This commit is contained in:
Kevin Fenzi 2015-09-04 15:31:01 +00:00
parent f4bb610b82
commit b65b7cbc29

View file

@ -24,7 +24,7 @@ fas = BaseClient('https://admin.fedoraproject.org/accounts',
try:
pkgdb_data = requests.get('%s/api/notify/?format=json' % pkgdb_url,
verify=False).json()
verify=True).json()
fas_data = fas.send_request('/user/email_list', auth=True)
fas_groups = fas.send_request(
'/group/type_list', auth=True, req_params={'grptype': 'pkgdb'})