提交 d6b24e5c authored 作者: Frederic Bastien's avatar Frederic Bastien

More info in error msg

上级 007935b9
...@@ -93,7 +93,7 @@ def _atexit_print_fn(): ...@@ -93,7 +93,7 @@ def _atexit_print_fn():
"linker_make_thunk_time"]: "linker_make_thunk_time"]:
cum_attr = getattr(cum, attr) cum_attr = getattr(cum, attr)
for key, val in iteritems(getattr(ps, attr)): for key, val in iteritems(getattr(ps, attr)):
assert key not in cum_attr assert key not in cum_attr, (key, cum_attr)
cum_attr[key] = val cum_attr[key] = val
if cum.optimizer_profile and ps.optimizer_profile: if cum.optimizer_profile and ps.optimizer_profile:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论