未验证 提交 df5aff80 编写于 作者: C Chen Weihang 提交者: GitHub

fix typo in spawn (#32017)

上级 a4b30a12
...@@ -303,8 +303,8 @@ class MultiprocessContext(object): ...@@ -303,8 +303,8 @@ class MultiprocessContext(object):
raise Exception("Process %d terminated with signal %s." % raise Exception("Process %d terminated with signal %s." %
(error_index, name)) (error_index, name))
else: else:
raise Exception("Process %d terminated with exit code %d." & ( raise Exception("Process %d terminated with exit code %d." %
error_index, exitcode)) (error_index, exitcode))
original_trace = self.error_queues[error_index].get() original_trace = self.error_queues[error_index].get()
msg = "\n\n----------------------------------------------\n" \ msg = "\n\n----------------------------------------------\n" \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册