Commit e3dda64b by Timothée Peignier

Fix error message formatting.

parent f3fa679f
......@@ -101,5 +101,5 @@ class SubProcessCompiler(CompilerBase):
if self.verbose:
print(stderr)
if pipe.returncode != 0:
raise CompilerError("Command '%s' returned non-zero exit status %d".format(command, pipe.returncode))
raise CompilerError("Command '{0}' returned non-zero exit status {1}".format(command, pipe.returncode))
return stdout
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment