未验证 提交 d8aaa581 编写于 作者: L Logan Adams 提交者: GitHub

Fix incorrectly formatted f string (#3698)

Co-authored-by: NMichael Wyatt <michaelwyatt@microsoft.com>
上级 c17313fb
......@@ -227,7 +227,7 @@ def _parse_hostfile(hostfile_lines):
resource_pool[host] = num_slots
else:
logger.error(f"Bad hostfile text: {hostfile_lines}")
raise ValueError("Hostfile contains a bad entry: {line}, unable to proceed with launching")
raise ValueError(f"Hostfile contains a bad entry: {line}, unable to proceed with launching")
if len(resource_pool) == 0:
logger.error(f"Bad hostfile text: {hostfile_lines}")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册