aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/detect.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-07-28 11:15:31 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-08-16 16:21:51 -0700
commit310d7d13f4566bc8aac56b87c54594e5e442528f (patch)
tree174c022ce14f49d8ea4633015f989cc90f138cda /mesonbuild/compilers/detect.py
parent7daed5faf8a7a0543c45c90a2e07b568a30a9ecf (diff)
downloadmeson-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