Skip to content
Snippets Groups Projects
Commit 1bef2b7e authored by Massimiliano Culpo's avatar Massimiliano Culpo Committed by Todd Gamblin
Browse files

variable referenced before assignment (#2252)

parent a260e7e8
Branches
Tags
No related merge requests found
......@@ -390,8 +390,10 @@ def _proper_compiler_style(cspec, arch):
c for c in matches
if _proper_compiler_style(c, spec.architecture)).copy()
except StopIteration:
raise UnavailableCompilerVersionError(spec.compiler,
arch.platform_os)
raise UnavailableCompilerVersionError(
spec.compiler, spec.architecture.platform_os
)
assert(spec.compiler.concrete)
return True # things changed.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment