Files
deb-python-oauth2client/oauth2client/contrib/_metadata.py
Craig Citro feec15f070 Allow customizing the GCE metadata service address via an env var. (#704)
The goal here is to make it possible for a user of a binary that depends on
this library (eg the google cloud SDK) to be able to customize where it looks
for the GCE metadata service. (An adventurous user can already customize the
GCE metadata service location via the existing global vars in this library.)

The only bit of awkwardness here is really the test: since this is a top-level
statement, reloading is the only way to ensure it works.
2017-03-27 09:47:44 -07:00

4.1 KiB