summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/config_option_check.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/config_option_check.py b/util/config_option_check.py
index bf5ac315c1..f4262430aa 100755
--- a/util/config_option_check.py
+++ b/util/config_option_check.py
@@ -50,7 +50,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.
@@ -304,8 +304,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 = state.NEW_FILE
else:
current_state = state.HUNK