aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-03-04 23:42:54 -0500
committerEli Schwartz <eschwartz@archlinux.org>2021-09-14 15:50:29 -0400
commit2c34b2f0637f68411adbf5bff3c5e35d3c9d1ce3 (patch)
treeb9e7c0bd8df984851df5af759360f88d50fe196b
parent6c23b4c6fc78ee9acdccfe33328a17c7f0bc667f (diff)
downloadmeson-2c34b2f0637f68411adbf5bff3c5e35d3c9d1ce3.zip
meson-2c34b2f0637f68411adbf5bff3c5e35d3c9d1ce3.tar.gz
meson-2c34b2f0637f68411adbf5bff3c5e35d3c9d1ce3.tar.bz2
fix traceback for undefined exception when trying to raise exception
-rw-r--r--mesonbuild/modules/unstable_external_project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/unstable_external_project.py b/mesonbuild/modules/unstable_external_project.py
index 32ecdf9..8bd3c1c 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