From ed9d125b9c8fe3a738545f7a1e9f9e70d6c32524 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Wed, 4 Dec 2019 15:09:33 +0100 Subject: [PATCH] lgtm: fix missing raise --- mesonbuild/compilers/mixins/arm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/compilers/mixins/arm.py b/mesonbuild/compilers/mixins/arm.py index 3a7e597b6..28708d521 100644 --- a/mesonbuild/compilers/mixins/arm.py +++ b/mesonbuild/compilers/mixins/arm.py @@ -143,7 +143,7 @@ class ArmclangCompiler: if ver_str: ver_str = ver_str.group(0) else: - mesonlib.EnvironmentException('armlink version string not found') + raise mesonlib.EnvironmentException('armlink version string not found') assert ver_str # makes mypy happy # Using the regular expression from environment.search_version, # which is used for searching compiler version