

@login_required
def get(self):
    error = self.request.get('error')
    if error:
        errormsg = self.request.get('error_description', error)
        self.response.out.write(('The authorization request failed: %s' % flow))
    else:
        user = users.get_current_user()
        flow = pickle.loads(memcache.get(user.user_id(), namespace=OAUTH2CLIENT_NAMESPACE))
        if flow:
            credentials = flow.step2_exchange(self.request.params)
            StorageByKeyName(CredentialsModel, user.user_id(), 'credentials').put(credentials)
            self.redirect(str(self.request.get('state')))
        else:
            pass

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/google-api-python-client/oauth2client/appengine.py OAuth2Handler.get/VarMisuse@53/75 `errormsg`->`flow`