提交 e857a6a9 编写于 作者: Z zt

修改未找到组件的变量名

上级 5d68f40d
...@@ -78,8 +78,8 @@ class BuildDepend(): ...@@ -78,8 +78,8 @@ class BuildDepend():
ResponseCode: response code ResponseCode: response code
Raises: Raises:
""" """
res_status, build_list, not_fd_build = self.search_db.get_build_depend(pkg_list) res_status, build_list, not_fd_com_build = self.search_db.get_build_depend(pkg_list)
self.not_found_components.update(not_fd_build) self.not_found_components.update(not_fd_com_build)
if not build_list: if not build_list:
return res_status if res_status == ResponseCode.DIS_CONNECTION_DB else \ return res_status if res_status == ResponseCode.DIS_CONNECTION_DB else \
ResponseCode.PACK_NAME_NOT_FOUND ResponseCode.PACK_NAME_NOT_FOUND
...@@ -87,10 +87,10 @@ class BuildDepend(): ...@@ -87,10 +87,10 @@ class BuildDepend():
# create root node and get next search list # create root node and get next search list
search_list = self._create_node_and_get_search_list(build_list, pkg_list) search_list = self._create_node_and_get_search_list(build_list, pkg_list)
code, res_dict, not_fd_install = \ code, res_dict, not_fd_com_install = \
InstallDepend(self.db_list).query_install_depend(search_list, InstallDepend(self.db_list).query_install_depend(search_list,
self.history_dicts) self.history_dicts)
self.not_found_components.update(not_fd_install) self.not_found_components.update(not_fd_com_install)
if not res_dict: if not res_dict:
return code return code
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册