ESGF / esgf-installer

ESGF P2P Node Installer
https://esgf.llnl.gov/
Other
20 stars 21 forks source link

Get the current environment every call using os.environ #535

Closed nathanlcarlson closed 6 years ago

nathanlcarlson commented 6 years ago

This will add, and replace duplicates, in the local.env from os.environ each time an executable is called. This is to resolve #534

nathanlcarlson commented 6 years ago

This was tested via an interactive python session by setting variables in os.environ and seeing if they appeared in local.env.

nathanlcarlson commented 6 years ago

Sorry for commit https://github.com/ESGF/esgf-installer/pull/535/commits/b31dee54ef4bd48a396e826b191f8142d1e4cce0 on this branch. I made the commit before I realized I forgot to make a new branch.