diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-04-03 09:13:55 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-04-03 14:48:29 -0700 |
commit | a710b83a677428e4cef29e86aead7f66ee8d183d (patch) | |
tree | 300be346dd64913a8986e483914f0c41c5798396 /mesonbuild/modules | |
parent | de48e887b8db039db6e921377b9c34fd6613ad7b (diff) | |
download | meson-a710b83a677428e4cef29e86aead7f66ee8d183d.zip meson-a710b83a677428e4cef29e86aead7f66ee8d183d.tar.gz meson-a710b83a677428e4cef29e86aead7f66ee8d183d.tar.bz2 |
modules/python: normalize output for disabled by feature
Instead of printing a message about how python was skipped, print the
normal 'Program foo found:' message, with a "disabled by feature"
message added.
Diffstat (limited to 'mesonbuild/modules')
-rw-r--r-- | mesonbuild/modules/python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py index 027d0f7..bd69244 100644 --- a/mesonbuild/modules/python.py +++ b/mesonbuild/modules/python.py @@ -509,7 +509,7 @@ class PythonModule(ExtensionModule): raise InvalidArguments('find_installation argument must be a string.') if disabled: - mlog.log('find_installation skipped: feature', mlog.bold(feature), 'disabled') + mlog.log('Program', name_or_path or 'python', 'found:', mlog.red('NO'), '(disabled by:', mlog.bold(feature), ')') return ExternalProgramHolder(NonExistingExternalProgram()) if not name_or_path: |