From a0cf7ad3d8fbafacb7146488d8e56c301646aa92 Mon Sep 17 00:00:00 2001 From: Clouds Date: Thu, 2 May 2019 10:34:52 +0800 Subject: [PATCH] fix error when show default config of list the error would occurs when specifying c_winlibs --- mesonbuild/msetup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/msetup.py b/mesonbuild/msetup.py index 563b81120..84bcefb5f 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')