aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-03-02 11:55:47 -0800
committerDylan Baker <dylan@pnwbakers.com>2020-03-05 09:31:29 -0800
commite3beaf87a58d8143ad05048b029314779e5e19b2 (patch)
tree3722e887090dbe7490e12ffa1f19aff91136369c /mesonbuild
parenta8293dd59c0a22817f2336df8ae97dce1232f72a (diff)
downloadmeson-e3beaf87a58d8143ad05048b029314779e5e19b2.zip
meson-e3beaf87a58d8143ad05048b029314779e5e19b2.tar.gz
meson-e3beaf87a58d8143ad05048b029314779e5e19b2.tar.bz2
mesonlib: use mlog instead of print
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/mesonlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/mesonlib.py b/mesonbuild/mesonlib.py
index 07e30e2..e93b66f 100644
--- a/mesonbuild/mesonlib.py
+++ b/mesonbuild/mesonlib.py
@@ -1126,8 +1126,8 @@ def expand_arguments(args: T.Iterable[str]) -> T.Optional[T.List[str]]:
extended_args = f.read().split()
expended_args += extended_args
except Exception as e:
- print('Error expanding command line arguments, %s not found' % args_file)
- print(e)
+ mlog.error('Expanding command line arguments:', args_file, 'not found')
+ mlog.exception(e)
return None
return expended_args