aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/ninjabackend.py
diff options
context:
space:
mode:
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>2016-12-19 09:33:59 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2016-12-19 17:09:35 +0200
commitd5ccd20aac67657eb39ae7a4b235333fffd78d9b (patch)
treef18732e0c3b7f1dbb8b7d7352f45fc8397f14e57 /mesonbuild/backend/ninjabackend.py
parentf9c1cc9d93e2a614b9d8510ba022865183cfbfc1 (diff)
downloadmeson-d5ccd20aac67657eb39ae7a4b235333fffd78d9b.zip
meson-d5ccd20aac67657eb39ae7a4b235333fffd78d9b.tar.gz
meson-d5ccd20aac67657eb39ae7a4b235333fffd78d9b.tar.bz2
fix some of pylint's undefined-variable
************* Module mesonbuild.modules.rpm E:106,29: Unsupported format character '{' (0x7b) at index 16 (bad-format-character) ************* Module mesonbuild.modules E: 12,14: Undefined variable 'MesonException' (undefined-variable) ************* Module mesonbuild.modules.gnome E:699,69: Undefined variable 'sargs' (undefined-variable) ************* Module mesonbuild.wrap.wrap E:103,25: Undefined variable 'checkoutdir' (undefined-variable) ************* Module mesonbuild.backend.backends E: 83,16: Undefined variable 'mlog' (undefined-variable) ************* Module mesonbuild.backend.ninjabackend E:254,105: Undefined variable 't' (undefined-variable) Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
-rw-r--r--mesonbuild/backend/ninjabackend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index 332450f..6a6782e 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -251,7 +251,7 @@ int dummy;
# either in the source root, or generated with configure_file and
# in the build root
if not isinstance(s, File):
- raise InvalidArguments('All sources in target {!r} must be of type mesonlib.File'.format(t))
+ raise InvalidArguments('All sources in target {!r} must be of type mesonlib.File'.format(s))
f = s.rel_to_builddir(self.build_to_src)
srcs[f] = s
return srcs