aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter.py
diff options
context:
space:
mode:
authorNicolas Schneider <nioncode+git@gmail.com>2019-01-05 22:12:02 +0100
committerXavier Claessens <xclaesse@gmail.com>2019-01-06 19:41:24 -0500
commit3232f780d8c3baba0cbca3f9fea18d1a722bf957 (patch)
tree105cd5ec72000d7ed4d1dfe02e4d137bcbdc2648 /mesonbuild/interpreter.py
parentf658107a0e424ad3a9659a4b53f310dec9fae690 (diff)
downloadmeson-3232f780d8c3baba0cbca3f9fea18d1a722bf957.zip
meson-3232f780d8c3baba0cbca3f9fea18d1a722bf957.tar.gz
meson-3232f780d8c3baba0cbca3f9fea18d1a722bf957.tar.bz2
use same code for printing options in mconf and msetup
Also, options are now responsible for providing a suitable printable representation of their value instead of handling this at the caller.
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r--mesonbuild/interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index 07af41d..9ebce70 100644
--- a/mesonbuild/interpreter.py
+++ b/mesonbuild/interpreter.py
@@ -2034,7 +2034,7 @@ class Interpreter(InterpreterBase):
for cur_opt_name, cur_opt_value in option_type.items():
if (def_opt_name == cur_opt_name and
def_opt_value != cur_opt_value.value):
- yield (def_opt_name, def_opt_value, cur_opt_value.value)
+ yield (def_opt_name, def_opt_value, cur_opt_value)
def build_func_dict(self):
self.funcs.update({'add_global_arguments': self.func_add_global_arguments,