diff options
author | Jukka Laurila <jlaurila@google.com> | 2018-03-10 13:18:15 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-03-10 18:04:52 +0200 |
commit | 52c50da6c7a921e1625fff26c7844af7d941afd9 (patch) | |
tree | e93c2d10aeed04b9a928f1387a469d98ef1524d8 /mesonbuild/dependencies/boost.py | |
parent | f6fd03485e6ab95aae766649f621a9b4260ea674 (diff) | |
download | meson-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.py | 2 |
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 |