diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-12-04 13:42:00 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-12-05 00:22:10 +0200 |
commit | e0001fbe0a265edef41efea66e7b997e188a6f5b (patch) | |
tree | 42c52c8ae66d1889ea2e88b259fbe723b9551664 /mesonbuild/build.py | |
parent | 379d633ef265da4f9bbe9c0e950f4d3025a21a01 (diff) | |
download | meson-e0001fbe0a265edef41efea66e7b997e188a6f5b.zip meson-e0001fbe0a265edef41efea66e7b997e188a6f5b.tar.gz meson-e0001fbe0a265edef41efea66e7b997e188a6f5b.tar.bz2 |
lgtm: fix format string numbering
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r-- | mesonbuild/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 35bc450..939b654 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -1106,7 +1106,7 @@ You probably should put it in link_with instead.''') msg += "Use the 'pic' option to static_library to build with PIC." raise InvalidArguments(msg) if self.for_machine is not t.for_machine: - msg = 'Tried to mix libraries for machines {1} and {2} in target {!r}'.format(self.name, self.for_machine, t.for_machine) + msg = 'Tried to mix libraries for machines {1} and {2} in target {0!r}'.format(self.name, self.for_machine, t.for_machine) if self.environment.is_cross_build(): raise InvalidArguments(msg + ' This is not possible in a cross build.') else: |