From 2c34b2f0637f68411adbf5bff3c5e35d3c9d1ce3 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 4 Mar 2021 23:42:54 -0500 Subject: [PATCH] fix traceback for undefined exception when trying to raise exception --- mesonbuild/modules/unstable_external_project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/modules/unstable_external_project.py b/mesonbuild/modules/unstable_external_project.py index 32ecdf96b..8bd3c1c4a 100644 --- a/mesonbuild/modules/unstable_external_project.py +++ b/mesonbuild/modules/unstable_external_project.py @@ -18,7 +18,7 @@ import typing as T from . import ExtensionModule, ModuleReturnValue, ModuleState, NewExtensionModule from .. import mlog, build -from ..mesonlib import (MesonException, Popen_safe, MachineChoice, +from ..mesonlib import (EnvironmentException, MesonException, Popen_safe, MachineChoice, get_variable_regex, do_replacement, extract_as_list, join_args) from ..interpreterbase import InterpreterException, FeatureNew from ..interpreterbase import permittedKwargs, typed_pos_args