aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter.py
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-03-10 18:39:10 +0000
committerJussi Pakkanen <jpakkane@gmail.com>2018-05-17 00:26:58 +0300
commit13e92223bec7853ccdd17922625c06d4699e1454 (patch)
treed8560d753de4d4381bd852fe21fdf2f0b85e6d5a /mesonbuild/interpreter.py
parent0e898def935e81f282d79d3b4d5541b541fdd692 (diff)
downloadmeson-13e92223bec7853ccdd17922625c06d4699e1454.zip
meson-13e92223bec7853ccdd17922625c06d4699e1454.tar.gz
meson-13e92223bec7853ccdd17922625c06d4699e1454.tar.bz2
Generalize message about fallback failure
The fallback might be not used not only because it couldn't be found, but also because something went wrong trying to use it. Also, update a test which relies on the specific text
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r--mesonbuild/interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index ffff45d..49e9381 100644
--- a/mesonbuild/interpreter.py
+++ b/mesonbuild/interpreter.py
@@ -2735,7 +2735,7 @@ root and issuing %s.
# If the subproject execution failed in a non-fatal way, don't raise an
# exception; let the caller handle things.
except Exception as e:
- mlog.log('Also couldn\'t find a fallback subproject in',
+ mlog.log('Couldn\'t use fallback subproject in',
mlog.bold(os.path.join(self.subproject_dir, dirname)),
'for the dependency', mlog.bold(name), '\nReason:', str(e))
return None