ac3a7d0a4655469c981cbe79bb35956927b61586
When running on Managed VMs, the evironment variables are set for "SERVER_SOFTWARE" but the user doesn't necessarily have to be using a appengine-compat runtime such as ``google/appengine-python``, they could be using a general purpose one such as ``google/python-runtime``. Because the generic one doesn't have the app engine sdk, it would crash when trying to obtain default credentials. This fixes the problem by checking if the app engine sdk is importable.
This is a client library for accessing resources protected by OAuth 2.0.
Installation
To install, simply say
$ pip install --upgrade oauth2client
Contributing
Please see the contributing page for more information. In particular, we love pull requests -- but please make sure to sign the contributor license agreement.
Supported Python Versions
We support Python 2.6, 2.7, 3.3+. More information in the docs.
Description
Languages
Python
99.3%
Shell
0.7%