variable referenced before assignment (#2252)
This commit is contained in:
parent
a260e7e860
commit
1bef2b7e98
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user