Avoid variable names with negative conotations
This commit is contained in:
parent
59f2079f68
commit
1b6575d5a5
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ import sysconfig
|
|||
|
||||
# The flags that currently don't have the -Og flag on the debug build
|
||||
# and we consider it OK, because we don't know any better :)
|
||||
WHITELIST = [
|
||||
SKIP = [
|
||||
'CONFIGURE_CFLAGS',
|
||||
'CONFIGURE_CFLAGS_NODIST',
|
||||
'CONFIG_ARGS',
|
||||
|
|
@ -27,7 +27,7 @@ print('Expecting that {} is the last -O flag:\n'.format(sys.argv[1]))
|
|||
ret = 0
|
||||
|
||||
for key, flags in sysconfig.get_config_vars().items():
|
||||
if key in WHITELIST:
|
||||
if key in SKIP:
|
||||
continue
|
||||
if isinstance(flags, str):
|
||||
oflags = [f for f in flags.split(' ') if f.startswith('-O')]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue