From 87a4a7ec12be222d070367665dbc2900a5bd3eb6 Mon Sep 17 00:00:00 2001 From: zhangchunle Date: Mon, 29 Jun 2020 17:02:58 +0800 Subject: [PATCH] rm contrib api code test (#25240) --- tools/sampcd_processor.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/sampcd_processor.py b/tools/sampcd_processor.py index 086a36c3a80..0ef3a63f54a 100644 --- a/tools/sampcd_processor.py +++ b/tools/sampcd_processor.py @@ -481,7 +481,10 @@ def get_filenames(): print("\nWARNING:----Exception in get api filename----\n") print("\n" + api + ' module is ' + module + "\n") if filename != '': - if filename not in filenames: + # rm contrib file + if filename.startswith('../python/paddle/fluid/contrib'): + pass + elif filename not in filenames: filenames.append(filename) # get all methods method = '' -- GitLab