diff options
author | Mary Ruthven <mruthven@chromium.org> | 2020-12-22 07:40:57 +1100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-22 21:02:11 +0000 |
commit | dbe87fb73f561bfa7ae62da17cbf979eb00732a4 (patch) | |
tree | ecee56caabd3366b5f1e72653ee9c160d6165c27 /util | |
parent | 5e1a54f157554153973bc9422b3fe1d90aa1c8a5 (diff) | |
download | chrome-ec-dbe87fb73f561bfa7ae62da17cbf979eb00732a4.tar.gz |
coil: Replace "whitelist"
Replace "whitelist" with "allowlist".
BUG=b:175244613
TEST=make buildall -j
Change-Id: Ie0a23cb33722fe27b76d97c2ebdd548c2ecc2aa6
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2600299
Reviewed-by: Namyoon Woo <namyoon@chromium.org>
Diffstat (limited to 'util')
-rwxr-xr-x | util/config_option_check.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/config_option_check.py b/util/config_option_check.py index 46b0c5b922..179d9d2299 100755 --- a/util/config_option_check.py +++ b/util/config_option_check.py @@ -48,7 +48,7 @@ class Hunk(object): CONFIG_FILE = 'include/config.h' # Specific files which the checker should ignore. -WHITELIST = [CONFIG_FILE, 'util/config_option_check.py'] +ALLOWLIST = [CONFIG_FILE, 'util/config_option_check.py'] def obtain_current_config_options(): """Obtains current config options from include/config.h. @@ -294,8 +294,8 @@ def get_hunks(): match = filename_re.search(line) if match: filename = match.groups(1)[0] - if filename in WHITELIST: - # Skip the file if it's whitelisted. + if filename in ALLOWLIST: + # Skip the file if it's allowlisted. current_state = 'new_file' else: current_state = 'hunk' |