提交 6cd92a70 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!985 fix code dex: format_args_excessive: Function: PyObject_CallMethod,...

!985 fix code dex: format_args_excessive: Function: PyObject_CallMethod, format string need 0 args, but there are 1 args after the format string 
Merge pull request !985 from jjfeing/master
...@@ -245,8 +245,7 @@ void ParallelBuildManager::ResetTaskInfo() { ...@@ -245,8 +245,7 @@ void ParallelBuildManager::ResetTaskInfo() {
} }
task_map_.clear(); task_map_.clear();
same_op_list_.clear(); same_op_list_.clear();
PyObject *pArg = Py_BuildValue("()"); (void)PyObject_CallMethod(tbe_parallel_compiler_, kResetTaskInfo, "O");
(void)PyObject_CallMethod(tbe_parallel_compiler_, kResetTaskInfo, "O", pArg);
} }
} // namespace kernel } // namespace kernel
} // namespace mindspore } // namespace mindspore
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册