fixed type/bug
This commit is contained in:
parent
6e7b00a0f6
commit
ffb9574312
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ def compiler_for_spec(compiler_spec, operating_system):
|
||||||
be concrete."""
|
be concrete."""
|
||||||
assert(compiler_spec.concrete)
|
assert(compiler_spec.concrete)
|
||||||
compilers = [c for c in compilers_for_spec(compiler_spec)
|
compilers = [c for c in compilers_for_spec(compiler_spec)
|
||||||
if c.strategy == operating_system.strategy]
|
if c.strategy == operating_system.compiler_strategy]
|
||||||
if len(compilers) < 1:
|
if len(compilers) < 1:
|
||||||
raise NoCompilerForSpecError(compiler_spec, target)
|
raise NoCompilerForSpecError(compiler_spec, target)
|
||||||
if len(compilers) > 1:
|
if len(compilers) > 1:
|
||||||
|
|
Loading…
Reference in a new issue