coredata: Don't log warnings about reserved prefixes

pull/4931/head
Dylan Baker 6 years ago
parent 068c3bf60a
commit 5ce0d9fbbb
  1. 4
      mesonbuild/coredata.py

@ -493,7 +493,7 @@ class CoreData:
from . import optinterpreter
for k, v in default_options.items():
if subproject:
if optinterpreter.is_invalid_name(k):
if optinterpreter.is_invalid_name(k, log=False):
continue
k = subproject + ':' + k
env.cmd_line_options.setdefault(k, v)
@ -511,7 +511,7 @@ class CoreData:
elif k not in builtin_options:
if ':' in k:
continue
if optinterpreter.is_invalid_name(k):
if optinterpreter.is_invalid_name(k, log=False):
continue
options[k] = v

Loading…
Cancel
Save