From 9bca4a4b944f8df2e94481ba87ce1746a94eb055 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 27 Jul 2021 15:20:18 -0700 Subject: mlog: fix annotation --- mesonbuild/mlog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/mlog.py b/mesonbuild/mlog.py index da9e2a53a..18cbc4818 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, -- cgit v1.2.3