diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2021-03-10 14:19:48 -0500 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.com> | 2021-03-22 21:29:14 -0400 |
commit | 8cd4d0b2832666f19660b9006040e5ff7e5d4576 (patch) | |
tree | e649e579f16f81c9ce6380fa3f1f78b2120bea91 /mesonbuild/interpreter.py | |
parent | 7c3418204f824a613c67e7ccd06ef6983656e904 (diff) | |
download | meson-8cd4d0b2832666f19660b9006040e5ff7e5d4576.zip meson-8cd4d0b2832666f19660b9006040e5ff7e5d4576.tar.gz meson-8cd4d0b2832666f19660b9006040e5ff7e5d4576.tar.bz2 |
mlog: Do not print 'subproject|' for the message 'Executing subproject'
It already contains the full callstack and it's more visible when it's
standing on its own line.
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r-- | mesonbuild/interpreter.py | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py index 8653b38..4dcb48c 100644 --- a/mesonbuild/interpreter.py +++ b/mesonbuild/interpreter.py @@ -2911,13 +2911,11 @@ external dependencies (including libraries) must go to "dependencies".''') os.makedirs(os.path.join(self.build.environment.get_build_dir(), subdir), exist_ok=True) self.global_args_frozen = True - mlog.log() - with mlog.nested(subp_name): - stack = ':'.join(self.subproject_stack + [subp_name]) - m = ['Executing subproject', mlog.bold(stack)] - if method != 'meson': - m += ['method', mlog.bold(method)] - mlog.log(*m,'\n') + stack = ':'.join(self.subproject_stack + [subp_name]) + m = ['\nExecuting subproject', mlog.bold(stack)] + if method != 'meson': + m += ['method', mlog.bold(method)] + mlog.log(*m,'\n', nested=False) try: if method == 'meson': |