aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/msetup.py
diff options
context:
space:
mode:
authorClouds <Clouds.Flowing@gmail.com>2019-05-02 10:34:52 +0800
committerJussi Pakkanen <jpakkane@gmail.com>2019-05-05 21:26:11 +0300
commita0cf7ad3d8fbafacb7146488d8e56c301646aa92 (patch)
treeaae8f699b2da00e48d7d53762db3ef3cd3570586 /mesonbuild/msetup.py
parent24d5c73b0a55b83bbc6120a322b16808ec1c1118 (diff)
downloadmeson-a0cf7ad3d8fbafacb7146488d8e56c301646aa92.zip
meson-a0cf7ad3d8fbafacb7146488d8e56c301646aa92.tar.gz
meson-a0cf7ad3d8fbafacb7146488d8e56c301646aa92.tar.bz2
fix error when show default config of list
the error would occurs when specifying c_winlibs
Diffstat (limited to 'mesonbuild/msetup.py')
-rw-r--r--mesonbuild/msetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/msetup.py b/mesonbuild/msetup.py
index 563b811..84bcefb 100644
--- a/mesonbuild/msetup.py
+++ b/mesonbuild/msetup.py
@@ -191,7 +191,7 @@ class MesonApp:
# Print all default option values that don't match the current value
for def_opt_name, def_opt_value, cur_opt_value in intr.get_non_matching_default_options():
mlog.log('Option', mlog.bold(def_opt_name), 'is:',
- mlog.bold(make_lower_case(cur_opt_value.printable_value())),
+ mlog.bold('{}'.format(make_lower_case(cur_opt_value.printable_value()))),
'[default: {}]'.format(make_lower_case(def_opt_value)))
try:
dumpfile = os.path.join(env.get_scratch_dir(), 'build.dat')