diff --git a/script/tools/package_install_problem_report.py b/script/tools/package_install_problem_report.py index 4a70c2f0c62f6ed86618fea0d6c0b17ee1073590..88c3ad1bea777f6434103bae32184a6f6818e195 100644 --- a/script/tools/package_install_problem_report.py +++ b/script/tools/package_install_problem_report.py @@ -182,7 +182,8 @@ def parse_msg(subjob_url_list, short_list, exclude_rpmlist, file_msg): line_msg['reason'] = tmp_data[0] line_msg['type'] = tmp_data[1] line_msg['rpm_name'] = tmp_data[2] - reason_msg.append(line_msg) + if line_msg not in reason_msg: + reason_msg.append(line_msg) log.info("Final cannot install rpm:%s" % allpkgs) log.info("reason msg:%s" % reason_msg) failed_pkg = []