diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-02-09 18:35:45 -0500 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-02-15 23:51:46 -0500 |
commit | 078175314a7b0a2b7db00991e5161d9432d96213 (patch) | |
tree | 7ed556147921bc4bbe0a480ad9472ef2b20e7a7d /mesonbuild/build.py | |
parent | 00aa43d267244bf634faee8fe8a9f52ed8b6b1ff (diff) | |
download | meson-078175314a7b0a2b7db00991e5161d9432d96213.zip meson-078175314a7b0a2b7db00991e5161d9432d96213.tar.gz meson-078175314a7b0a2b7db00991e5161d9432d96213.tar.bz2 |
fine-tune the logic for reporting context on tracebacks
Do not report a MesonBugException if the command is `runpython`, because
that is 100% other people's code, not ours. It's only used as an
alternative to sys.executable for reporting a path to python, in the
event of a Windows MSI install.
While we are at it, refactor the logic for PermissionError to be a bit
more unified (and sadly use isinstance instead of except, but it is what
it is).
Diffstat (limited to 'mesonbuild/build.py')
0 files changed, 0 insertions, 0 deletions