mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 09:51:36 +00:00
Move project-apis.txt URL to var.py so all urls are in same spot (#403)
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -16,6 +16,7 @@ GAM_RELEASES = u'https://github.com/jay0lee/GAM/releases'
|
||||
GAM_WIKI = u'https://github.com/jay0lee/GAM/wiki'
|
||||
GAM_ALL_RELEASES = u'https://api.github.com/repos/jay0lee/GAM/releases'
|
||||
GAM_LATEST_RELEASE = GAM_ALL_RELEASES+u'/latest'
|
||||
GAM_PROJECT_APIS = u'https://raw.githubusercontent.com/jay0lee/GAM/master/src/project-apis.txt'
|
||||
|
||||
TRUE = u'true'
|
||||
FALSE = u'false'
|
||||
|
||||
Reference in New Issue
Block a user