aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mlog.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-07-27 15:20:18 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-09-24 09:44:40 -0700
commit9bca4a4b944f8df2e94481ba87ce1746a94eb055 (patch)
tree724f18662051b36c5ed4fca30bc0fab94fac9e9c /mesonbuild/mlog.py
parent524a95fa62a6e0cb77e53d7b38d5c2d59a75e449 (diff)
downloadmeson-9bca4a4b944f8df2e94481ba87ce1746a94eb055.zip
meson-9bca4a4b944f8df2e94481ba87ce1746a94eb055.tar.gz
meson-9bca4a4b944f8df2e94481ba87ce1746a94eb055.tar.bz2
mlog: fix annotation
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 da9e2a5..18cbc48 100644
--- a/mesonbuild/mlog.py
+++ b/mesonbuild/mlog.py
@@ -293,7 +293,7 @@ def log_once(*args: TV_Loggable, is_error: bool = False,
#
# This would more accurately embody what this function can handle, but we
# don't have that yet, so instead we'll do some casting to work around it
-def get_error_location_string(fname: str, lineno: str) -> str:
+def get_error_location_string(fname: str, lineno: int) -> str:
return f'{fname}:{lineno}:'
def _log_error(severity: str, *rargs: TV_Loggable,