aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Behle <behlec@gmail.com>2018-07-08 19:46:36 +0200
committerChristoph Behle <behlec@gmail.com>2018-07-08 19:46:36 +0200
commit430506f814847044b0e3f6e2084dfa1cfc5ec614 (patch)
treea0d76da35c98072555edacb1199f7e322c341fa5
parentdffa7f35649185c1a8e096f9efa03631ef52d194 (diff)
downloadmeson-430506f814847044b0e3f6e2084dfa1cfc5ec614.zip
meson-430506f814847044b0e3f6e2084dfa1cfc5ec614.tar.gz
meson-430506f814847044b0e3f6e2084dfa1cfc5ec614.tar.bz2
Use mlog.bold to add quotes
-rw-r--r--mesonbuild/interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index 8b83e86..5cadbe9 100644
--- a/mesonbuild/interpreter.py
+++ b/mesonbuild/interpreter.py
@@ -3455,7 +3455,7 @@ root and issuing %s.
mesonbuildfile = os.path.join(self.subdir, 'meson.build')
current_call = "{}:{}".format(mesonbuildfile, self.current_lineno)
first_call = "{}:{}".format(mesonbuildfile, self.configure_file_outputs[ofile_rpath])
- mlog.warning('Output file', mlog.bold("'{}'".format(ofile_rpath)), 'for configure_file() at', current_call, 'overwrites configure_file() output at', first_call)
+ mlog.warning('Output file', mlog.bold(ofile_rpath, True), 'for configure_file() at', current_call, 'overwrites configure_file() output at', first_call)
else:
self.configure_file_outputs[ofile_rpath] = self.current_lineno
if ifile_abs: