aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2021-12-16 22:56:02 +0100
committerEli Schwartz <eschwartz93@gmail.com>2021-12-17 14:00:28 -0500
commitc5ce9744b291d1b93c724384154992f440489f08 (patch)
treecb065d6bd5a80f93396d422153bf0dfef9a2fb0a /run_project_tests.py
parent26f188fb3616acf311429593c9c2d36c1fc5a6b3 (diff)
downloadmeson-c5ce9744b291d1b93c724384154992f440489f08.zip
meson-c5ce9744b291d1b93c724384154992f440489f08.tar.gz
meson-c5ce9744b291d1b93c724384154992f440489f08.tar.bz2
Fix mypy errors
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 176a938..822cf0b 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -313,7 +313,7 @@ class StopException(Exception):
def __init__(self) -> None:
super().__init__('Stopped by user')
-def stop_handler(signal: signal.Signals, frame: T.Optional['FrameType']) -> None:
+def stop_handler(signal: int, frame: T.Optional['FrameType']) -> None:
global stop
stop = True
signal.signal(signal.SIGINT, stop_handler)