aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-02-09 18:35:45 -0500
committerEli Schwartz <eschwartz@archlinux.org>2022-02-15 23:51:46 -0500
commit078175314a7b0a2b7db00991e5161d9432d96213 (patch)
tree7ed556147921bc4bbe0a480ad9472ef2b20e7a7d /mesonbuild/dependencies
parent00aa43d267244bf634faee8fe8a9f52ed8b6b1ff (diff)
downloadmeson-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/dependencies')
0 files changed, 0 insertions, 0 deletions