aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index eb7189c..5600f9d 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -1383,8 +1383,6 @@ class Environment:
for compiler in compilers:
if isinstance(compiler, str):
compiler = [compiler]
- else:
- raise EnvironmentException()
arg = '--version'
try:
p, out, err = Popen_safe(compiler + [arg])