From 3e6b1dbe708a7fb11b0e421682bf66808d4d9aaa Mon Sep 17 00:00:00 2001 From: liym27 <33742067+liym27@users.noreply.github.com> Date: Thu, 2 Jan 2020 10:56:32 +0800 Subject: [PATCH] fix bug of checking op desc: not DUPLICABLE but DISPENSABLE (#22039) --- tools/check_op_desc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check_op_desc.py b/tools/check_op_desc.py index d92866d3d3..1873fde0c4 100644 --- a/tools/check_op_desc.py +++ b/tools/check_op_desc.py @@ -65,7 +65,7 @@ def diff_vars(origin_vars, new_vars): var_deleted_error_massage.append(var_name) for var_name in vars_name_only_in_new: - if not new_vars.get(var_name).get(DUPLICABLE): + if not new_vars.get(var_name).get(DISPENSABLE): error, var_error = True, True var_added_error_massage.append(var_name) -- GitLab