fix type annotations for mlog nesting

In commit 8cd4d0b283 we added a feature
that took True/False but said it took str.
pull/9757/head
Eli Schwartz 3 years ago
parent 9f384e9207
commit 812ad2e6d1
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 2
      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()

Loading…
Cancel
Save