From 2a64ffd1e69dedf32585005931c510397ced86ba Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 8 Jul 2022 09:26:44 -0700 Subject: mesonlib: remove filename parameter to mlog.warning After tracing all the way down to the bottom of this (or really, adding annotations so mypy can) it turns out that passing file would just be ignored at the end of the mlog call stack, so it should be removed --- mesonbuild/utils/universal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/utils/universal.py') diff --git a/mesonbuild/utils/universal.py b/mesonbuild/utils/universal.py index b85e298..1bd8934 100644 --- a/mesonbuild/utils/universal.py +++ b/mesonbuild/utils/universal.py @@ -249,7 +249,7 @@ def check_direntry_issues(direntry_array: T.Union[T.Iterable[T.Union[str, bytes] You are using {e!r} which is not a Unicode-compatible locale but you are trying to access a file system entry called {de!r} which is not pure ASCII. This may cause problems. - '''), file=sys.stderr) + ''')) class SecondLevelHolder(HoldableObject, metaclass=abc.ABCMeta): ''' A second level object holder. The primary purpose -- cgit v1.1