diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-07-28 11:15:31 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-08-16 16:21:51 -0700 |
commit | 310d7d13f4566bc8aac56b87c54594e5e442528f (patch) | |
tree | 174c022ce14f49d8ea4633015f989cc90f138cda /mesonbuild/compilers/detect.py | |
parent | 7daed5faf8a7a0543c45c90a2e07b568a30a9ecf (diff) | |
download | meson-310d7d13f4566bc8aac56b87c54594e5e442528f.zip meson-310d7d13f4566bc8aac56b87c54594e5e442528f.tar.gz meson-310d7d13f4566bc8aac56b87c54594e5e442528f.tar.bz2 |
unittests/base: Move code out of the try block of a try/except statement
There are two problems with having this in the try/except block. The
first is that both of the if statements will raise, and the except
statement cathces `Exception`, so it catches these two cases, prints a
message that we either don't want or already printed, then re-raises.
Diffstat (limited to 'mesonbuild/compilers/detect.py')
0 files changed, 0 insertions, 0 deletions