提交 b0b55a90 编写于 作者: S stutao

Modify the branch return value of selfbuild == 1, change the status code return value to None.

上级 7b4a66e3
......@@ -6,7 +6,6 @@ from packageship.application.apps.package.function.install_depend import Install
from packageship.application.apps.package.function.constants import ResponseCode, ListNode
class BuildDepend:
"""
Find compilation dependency of source package
......@@ -42,7 +41,7 @@ class BuildDepend:
self.self_build(self.pkg_name_list)
if None in self.result_dict:
del self.result_dict[None]
return ResponseCode.SUCCESS, self.result_dict, self.source_dict
return None, 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.
先完成此消息的编辑!
想要评论请 注册