提交 3893c41d 编写于 作者: S stutao

Add a comment that returns the status code success when selfbuild == 1;

上级 5b138675
......@@ -41,6 +41,11 @@ class BuildDepend:
self.self_build(self.pkg_name_list)
if None in self.result_dict:
del self.result_dict[None]
# There are two reasons for the current status code to return SUCCESS
# 1, Other branches return three return values.
# Here, a place holder is needed to prevent unpacking errors during call
# 2, This function is an auxiliary function of other modules.
# The status code is not the final display status code
return ResponseCode.SUCCESS, self.result_dict, self.source_dict
return ResponseCode.PARAM_ERROR, None, None
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册