fixed type/bug

This commit is contained in:
Gregory Becker 2016-03-02 15:59:23 -08:00
parent 6e7b00a0f6
commit ffb9574312

View file

@ -225,7 +225,7 @@ def compiler_for_spec(compiler_spec, operating_system):
be concrete."""
assert(compiler_spec.concrete)
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:
raise NoCompilerForSpecError(compiler_spec, target)
if len(compilers) > 1: