changed error raised in concretize compiler to provide better error message

This commit is contained in:
Gregory Becker 2016-08-01 17:11:10 -07:00
parent c678a9e3da
commit 2705f2c0e3

View File

@ -343,7 +343,7 @@ def _proper_compiler_style(cspec, arch):
while not _proper_compiler_style(matches[index], spec.architecture):
index += 1
if index == len(matches) - 1:
raise NoValidVersionError(spec)
raise UnavailableCompilerVersionError(spec)
spec.compiler = matches[index].copy()
assert(spec.compiler.concrete)
return True # things changed.