aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/boost.py
diff options
context:
space:
mode:
authorJukka Laurila <jlaurila@google.com>2018-03-10 13:18:15 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2018-03-10 18:04:52 +0200
commit52c50da6c7a921e1625fff26c7844af7d941afd9 (patch)
treee93c2d10aeed04b9a928f1387a469d98ef1524d8 /mesonbuild/dependencies/boost.py
parentf6fd03485e6ab95aae766649f621a9b4260ea674 (diff)
downloadmeson-52c50da6c7a921e1625fff26c7844af7d941afd9.zip
meson-52c50da6c7a921e1625fff26c7844af7d941afd9.tar.gz
meson-52c50da6c7a921e1625fff26c7844af7d941afd9.tar.bz2
Refactor: Add log.error and log.exception to reduce code duplication.
Diffstat (limited to 'mesonbuild/dependencies/boost.py')
-rw-r--r--mesonbuild/dependencies/boost.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/boost.py b/mesonbuild/dependencies/boost.py
index 03cc7b8..a17fb58 100644
--- a/mesonbuild/dependencies/boost.py
+++ b/mesonbuild/dependencies/boost.py
@@ -167,7 +167,7 @@ class BoostDependency(ExternalDependency):
invalid_modules = [x for x in invalid_modules if x not in remove]
if invalid_modules:
- mlog.log(mlog.red('ERROR:'), 'Invalid Boost modules: ' + ', '.join(invalid_modules))
+ mlog.error('Invalid Boost modules: ' + ', '.join(invalid_modules))
return True
else:
return False