diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2021-10-12 17:40:11 -0400 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2021-10-13 08:07:25 -0400 |
commit | 4f7c0d0b62e0599f68b37b39d6d346cfb02295f0 (patch) | |
tree | 3ae63720e210ebbdab148c74bc89eb40076fbeec /mesonbuild | |
parent | 220d5aa7ba76afef511e87aa6b67fcccc5f4071d (diff) | |
download | meson-4f7c0d0b62e0599f68b37b39d6d346cfb02295f0.zip meson-4f7c0d0b62e0599f68b37b39d6d346cfb02295f0.tar.gz meson-4f7c0d0b62e0599f68b37b39d6d346cfb02295f0.tar.bz2 |
optinterpreter: Downgrade error to deprecation
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/optinterpreter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/optinterpreter.py b/mesonbuild/optinterpreter.py index d7565f2..7818915 100644 --- a/mesonbuild/optinterpreter.py +++ b/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'}) |