diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2021-08-02 21:51:33 -0700 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2021-08-03 10:07:11 +0200 |
commit | 0a0338ddfa7b42a8cd630a664ea3fc40d4650408 (patch) | |
tree | c8f024a31aabe1d623b5a05687eddb20825037a3 /.gitattributes | |
parent | 693c4d8f3ad59dd8d9efa750398510e4a7f0f4ae (diff) | |
download | spack-0a0338ddfa7b42a8cd630a664ea3fc40d4650408.tar.gz spack-0a0338ddfa7b42a8cd630a664ea3fc40d4650408.tar.bz2 spack-0a0338ddfa7b42a8cd630a664ea3fc40d4650408.tar.xz spack-0a0338ddfa7b42a8cd630a664ea3fc40d4650408.zip |
bugfix: ensure all bootstrap context managers are exception-safe
When context managers are used to save and restore values, we need to remember
to use try/finally around the yield in case an exception is thrown. Otherwise,
the cleanup will be skipped.
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions