diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-08-26 14:19:05 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-08-27 00:56:14 +0300 |
commit | e0e980e0646c299bc8e0dd1b32b85a6e53fd6f6c (patch) | |
tree | c4c790f5279fe59de51f173da48881fb29246353 /mesonbuild/modules/windows.py | |
parent | 8f7781f1d6bf36c064b39e7d0794c686f1b78665 (diff) | |
download | meson-e0e980e0646c299bc8e0dd1b32b85a6e53fd6f6c.zip meson-e0e980e0646c299bc8e0dd1b32b85a6e53fd6f6c.tar.gz meson-e0e980e0646c299bc8e0dd1b32b85a6e53fd6f6c.tar.bz2 |
Remove some spurious calls to the format() function
Remove some spurious calls to the format() function, left by mistake after
c2f37853
Diffstat (limited to 'mesonbuild/modules/windows.py')
-rw-r--r-- | mesonbuild/modules/windows.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/modules/windows.py b/mesonbuild/modules/windows.py index 24bd750..87209d6 100644 --- a/mesonbuild/modules/windows.py +++ b/mesonbuild/modules/windows.py @@ -90,16 +90,16 @@ class WindowsModule(ExtensionModule): if isinstance(src, str): name_format = 'file {!r}' - name = format(os.path.join(state.subdir, src)) + name = os.path.join(state.subdir, src) elif isinstance(src, mesonlib.File): name_format = 'file {!r}' - name = format(src.relative_name()) + name = src.relative_name() elif isinstance(src, build.CustomTarget): if len(src.get_outputs()) > 1: raise MesonException('windows.compile_resources does not accept custom targets with more than 1 output.') name_format = 'target {!r}' - name = format(src.get_id()) + name = src.get_id() else: raise MesonException('Unexpected source type {!r}. windows.compile_resources accepts only strings, files, custom targets, and lists thereof.'.format(src)) |