diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-10-25 14:40:43 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-11-19 21:07:37 +0200 |
commit | d3f2172de81b8ebd5732e874f737d27f6f76757a (patch) | |
tree | 62c417a1bb108d7acc0f4f4206a2e16d5f4c2ed7 /mesonbuild | |
parent | cecbbfab0e3577190c26a5f77b9ce9653e0a4852 (diff) | |
download | meson-d3f2172de81b8ebd5732e874f737d27f6f76757a.zip meson-d3f2172de81b8ebd5732e874f737d27f6f76757a.tar.gz meson-d3f2172de81b8ebd5732e874f737d27f6f76757a.tar.bz2 |
lgtm: Too few arguments for string format.
Too few arguments for string format. Format "{0} sources specified and
couldn't find {1}, please check your qt{2} installation" requires at least
3, but 2 are provided.
This alert was introduced in f7f439c a year ago
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/modules/qt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/qt.py b/mesonbuild/modules/qt.py index 367b15b..28fb98c 100644 --- a/mesonbuild/modules/qt.py +++ b/mesonbuild/modules/qt.py @@ -162,7 +162,7 @@ class QtBaseModule(ExtensionModule): sources.append(res_target) if len(ui_files) > 0: if not self.uic.found(): - raise MesonException(err_msg.format('UIC', 'uic-qt' + self.qt_version)) + raise MesonException(err_msg.format('UIC', 'uic-qt{}'.format(self.qt_version), self.qt_version)) arguments = uic_extra_arguments + ['-o', '@OUTPUT@', '@INPUT@'] ui_kwargs = {'output': 'ui_@BASENAME@.h', 'arguments': arguments} |