Move project-apis.txt URL to var.py so all urls are in same spot (#403)

This commit is contained in:
Ross Scroggs
2017-01-26 10:27:22 -08:00
committed by Jay Lee
parent 6aeee89ee4
commit e212d68d60
2 changed files with 2 additions and 2 deletions

View File

@ -6292,9 +6292,8 @@ and accept the Terms of Service (ToS). As soon as you've accepted the ToS popup,
print status[u'error']
sys.exit(2)
break
apis_url = u'https://raw.githubusercontent.com/jay0lee/GAM/master/src/project-apis.txt'
simplehttp = httplib2.Http(disable_ssl_certificate_validation=GC_Values[GC_NO_VERIFY_SSL])
_, c = simplehttp.request(apis_url, u'GET')
_, c = simplehttp.request(GAM_PROJECT_APIS, u'GET')
apis = c.splitlines()
serveman = googleapiclient.discovery.build(u'servicemanagement', u'v1', http=http, cache_discovery=False)
for api in apis: