lgtm: fix missing raise

This commit is contained in:
Daniel Mensinger 2019-12-04 15:09:33 +01:00 committed by Jussi Pakkanen
parent e0001fbe0a
commit ed9d125b9c
1 changed files with 1 additions and 1 deletions

View File

@ -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