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.
@@ -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:
