aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/utils/universal.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-07-08 09:26:44 -0700
committerEli Schwartz <eschwartz93@gmail.com>2023-01-03 14:49:02 -0500
commit2a64ffd1e69dedf32585005931c510397ced86ba (patch)
treef03df7460415d02accfb2b6f9414bb0136862fc8 /mesonbuild/utils/universal.py
parent334d2137e9b224a655007b0b7c328e1c95320027 (diff)
downloadmeson-2a64ffd1e69dedf32585005931c510397ced86ba.zip
meson-2a64ffd1e69dedf32585005931c510397ced86ba.tar.gz
meson-2a64ffd1e69dedf32585005931c510397ced86ba.tar.bz2
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
Diffstat (limited to 'mesonbuild/utils/universal.py')
-rw-r--r--mesonbuild/utils/universal.py2
1 files changed, 1 insertions, 1 deletions
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