aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mlog.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-12-16 22:51:43 -0500
committerEli Schwartz <eschwartz@archlinux.org>2021-12-30 15:15:25 -0500
commit812ad2e6d19148f8b93d6051620ad185222436f1 (patch)
treeb72f73f9256768f7b0e76299117fe4a7a58fe5f9 /mesonbuild/mlog.py
parent9f384e92075022af73f1a75bb746b71ea11b2f21 (diff)
downloadmeson-812ad2e6d19148f8b93d6051620ad185222436f1.zip
meson-812ad2e6d19148f8b93d6051620ad185222436f1.tar.gz
meson-812ad2e6d19148f8b93d6051620ad185222436f1.tar.bz2
fix type annotations for mlog nesting
In commit 8cd4d0b2832666f19660b9006040e5ff7e5d4576 we added a feature that took True/False but said it took str.
Diffstat (limited to 'mesonbuild/mlog.py')
-rw-r--r--mesonbuild/mlog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mlog.py b/mesonbuild/mlog.py
index 60bc09e..bdc9da5 100644
--- a/mesonbuild/mlog.py
+++ b/mesonbuild/mlog.py
@@ -206,7 +206,7 @@ def process_markup(args: T.Sequence[TV_Loggable], keep: bool) -> T.List[str]:
arr.append(str(arg))
return arr
-def force_print(*args: str, nested: str, **kwargs: T.Any) -> None:
+def force_print(*args: str, nested: bool, **kwargs: T.Any) -> None:
if log_disable_stdout:
return
iostr = io.StringIO()