diff options
author | Wouter Deconinck <wdconinc@gmail.com> | 2023-12-17 12:17:23 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-17 12:17:23 -0600 |
commit | b111064e221aae83e62226672cd8bf9a7524423d (patch) | |
tree | 3faf5f5517ae6f73aef0494773d16641f155ee9e /pytest.ini | |
parent | 17d47accf90b6a33f4da83767caf35cb7f6b290d (diff) | |
download | spack-b111064e221aae83e62226672cd8bf9a7524423d.tar.gz spack-b111064e221aae83e62226672cd8bf9a7524423d.tar.bz2 spack-b111064e221aae83e62226672cd8bf9a7524423d.tar.xz spack-b111064e221aae83e62226672cd8bf9a7524423d.zip |
py-htgettoken: use os.environ, avoid AttributeError (#41717)
* py-htgettoken: use os.environ, avoid AttributeError
This avoids the following error:
```
Warning: could not load runtime environment due to AttributeError: 'EnvironmentModifications' object has no attribute 'get'
```
* py-htgettoken: allow for undefined variables
* py-htgettoken: use dict get()
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
---------
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'pytest.ini')
0 files changed, 0 insertions, 0 deletions