diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2021-08-26 21:20:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-26 12:20:05 -0700 |
commit | 29d1bc6546def4bcd09c0a5b533de9f39a78d910 (patch) | |
tree | 576e6359be1c861e5cffbba9b6d3faf439a7de73 /var | |
parent | c963bdee8b8507c3eb50072ccfee275e52c778b6 (diff) | |
download | spack-29d1bc6546def4bcd09c0a5b533de9f39a78d910.tar.gz spack-29d1bc6546def4bcd09c0a5b533de9f39a78d910.tar.bz2 spack-29d1bc6546def4bcd09c0a5b533de9f39a78d910.tar.xz spack-29d1bc6546def4bcd09c0a5b533de9f39a78d910.zip |
Ensure environment are deactivated when bootstrapping (#25607)
Fixes #25603
This commit adds a new context manager to temporarily
deactivate active environments. This context manager
is used when setting up bootstrapping configuration to
make sure that the current environment is not affected
by operations on the bootstrap store.
* Preserve exit code 1 if nothing is found
* Use context manager for the environment
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions