fixed floating 'target'
This commit is contained in:
@@ -227,7 +227,7 @@ def compiler_for_spec(compiler_spec, operating_system):
|
|||||||
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.compiler_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, operating_system)
|
||||||
if len(compilers) > 1:
|
if len(compilers) > 1:
|
||||||
raise CompilerSpecInsufficientlySpecificError(compiler_spec)
|
raise CompilerSpecInsufficientlySpecificError(compiler_spec)
|
||||||
return compilers[0]
|
return compilers[0]
|
||||||
|
Reference in New Issue
Block a user