From c629c3424ce16f589712066c7037d484a7dbc35f Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Wed, 30 Dec 2015 12:08:37 -0500 Subject: [PATCH] TODOs for a few ugly hard coded hacks --- src/gam.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gam.py b/src/gam.py index 5a0bf427..c4ee5ff7 100755 --- a/src/gam.py +++ b/src/gam.py @@ -566,7 +566,7 @@ def doGAMVersion(): def tryOAuth(gdataObject, scope): credentials = oauth2client.client.SignedJwtAssertionCredentials(GM_Globals[GM_OAUTH2SERVICE_ACCOUNT_EMAIL], GM_Globals[GM_OAUTH2SERVICE_KEY], - scope=scope, user_agent=GAM_INFO, sub=u'me@u.jaylee.us') + scope=scope, user_agent=GAM_INFO, sub=u'me@u.jaylee.us') # TODO lookup admin user from file http = httplib2.Http(disable_ssl_certificate_validation=GC_Values[GC_NO_VERIFY_SSL], cache=GC_Values[GC_CACHE_DIR]) try: @@ -803,7 +803,7 @@ def getServiceFromDiscoveryDocument(api, version, http): def buildGAPIObject(api, act_as=None, soft_errors=False): if not act_as: - act_as = u'me@u.jaylee.us' + act_as = u'me@u.jaylee.us' # TODO lookup admin user from file if not GM_Globals[GM_OAUTH2SERVICE_KEY]: json_string = readFile(GC_Values[GC_OAUTH2SERVICE_JSON], continueOnError=True, displayError=True) if not json_string: