Fixed namespace issue occurred during rebase

This commit is contained in:
Massimiliano Culpo 2019-04-05 21:43:29 +02:00
parent f05d5b82f1
commit d010cdb373
No known key found for this signature in database
GPG Key ID: D1ADB1014FF1118C

View File

@ -32,7 +32,7 @@ def get_compiler_version_output(compiler_path, version_arg):
compiler_path (path): path of the compiler to be invoked
version_arg (str): the argument used to extract version information
"""
compiler = Executable(compiler_path)
compiler = spack.util.executable.Executable(compiler_path)
output = compiler(version_arg, output=str, error=str)
return output