diff options
Diffstat (limited to 'util/config_option_check.py')
-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' |