optinterpreter: Downgrade error to deprecation

pull/9290/head
Xavier Claessens 3 years ago committed by Xavier Claessens
parent 220d5aa7ba
commit 4f7c0d0b62
  1. 2
      mesonbuild/optinterpreter.py

@ -194,7 +194,7 @@ class OptionInterpreter:
key = mesonlib.OptionKey(opt_name, self.subproject)
if key in self.options:
raise OptionException(f'Option {opt_name} already exists')
mlog.deprecation(f'Option {opt_name} already exists.')
self.options[key] = opt
@permittedKwargs({'value', 'yield'})

Loading…
Cancel
Save