diff --git a/tools/check_api_approvals.sh b/tools/check_api_approvals.sh index 3c70dbb6c8299c8adabe4f594e34ba9e4b72eb1a..782d45635cb12ec98fe96aeb9512e917d61e7398 100644 --- a/tools/check_api_approvals.sh +++ b/tools/check_api_approvals.sh @@ -75,7 +75,7 @@ fi op_desc_diff=`python ${PADDLE_ROOT}/tools/check_op_desc.py ${PADDLE_ROOT}/paddle/fluid/OP_DESC_DEV.spec ${PADDLE_ROOT}/paddle/fluid/OP_DESC_PR.spec` if [ "$op_desc_diff" != "" ]; then - echo_line="You must have one RD (liym27 (Recommend), zhhsplendid, Aurelius84, lanxianghit or phlrain) approval for the changes of Inputs/Output/Attrs of OPs. The changes of OPs will cause that the new version inference fails to load model trained by the old version.\n" + echo_line="You must have one RD (liym27 (Recommend), zhhsplendid, Aurelius84, lanxianghit or phlrain) approval for the changes of Inputs/Output/Attrs of OPs. The changes of OPs will cause that the new version inference fails to load model trained by the old version. Please modify your code. \n For more details, please click [https://github.com/PaddlePaddle/Paddle/wiki/OP-Input-Output-Attribute-Compatibility-Modification].\n${op_desc_diff}\n" check_approval 1 33742067 7913861 9301846 47554610 43953930 fi @@ -173,8 +173,6 @@ fi python ${PADDLE_ROOT}/tools/diff_api.py ${PADDLE_ROOT}/paddle/fluid/API_DEV.spec ${PADDLE_ROOT}/paddle/fluid/API_PR.spec python ${PADDLE_ROOT}/tools/check_op_register_type.py ${PADDLE_ROOT}/paddle/fluid/OP_TYPE_DEV.spec ${PADDLE_ROOT}/paddle/fluid/OP_TYPE_PR.spec -python ${PADDLE_ROOT}/tools/check_op_desc.py ${PADDLE_ROOT}/paddle/fluid/OP_DESC_DEV.spec ${PADDLE_ROOT}/paddle/fluid/OP_DESC_PR.spec - if [ -n "${echo_list}" ]; then exit 1 fi diff --git a/tools/check_op_desc.py b/tools/check_op_desc.py index ae3e3cafdafcc1337c70a9aa9074541786588117..465d7cf02de155d3be8ca78832487b220624b3e7 100644 --- a/tools/check_op_desc.py +++ b/tools/check_op_desc.py @@ -245,7 +245,6 @@ if len(sys.argv) == 3: if error: print("-" * 30) print_error_message(error_message) - print_repeat_process() print("-" * 30) else: print("Usage: python check_op_desc.py OP_DESC_DEV.spec OP_DESC_PR.spec")