提交 5720b290 authored 作者: David Warde-Farley's avatar David Warde-Farley 提交者: Arnaud Bergeron

Fix duplicate print_list.

上级 429bb486
...@@ -159,7 +159,6 @@ def raise_with_op(node, thunk=None, exc_info=None, storage_map=None): ...@@ -159,7 +159,6 @@ def raise_with_op(node, thunk=None, exc_info=None, storage_map=None):
if tr: if tr:
sio = StringIO() sio = StringIO()
traceback.print_list(tr, sio) traceback.print_list(tr, sio)
traceback.print_list(tr.decode('ascii'), sio)
tr = sio.getvalue() tr = sio.getvalue()
detailed_err_msg += "\nBacktrace when the node is created:\n" detailed_err_msg += "\nBacktrace when the node is created:\n"
detailed_err_msg += str(tr) detailed_err_msg += str(tr)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论