aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2020-09-01 14:28:08 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2020-09-08 20:15:58 +0200
commit23818fc5a389c49e2673f79af2c90d9d56b1aaf0 (patch)
tree75d73e4d81c9b1ca3187668808a80a8673ead0e6 /mesonbuild/scripts
parent1b19822a2df7ff969e3734973f131df9ed9d2ee3 (diff)
downloadmeson-23818fc5a389c49e2673f79af2c90d9d56b1aaf0.zip
meson-23818fc5a389c49e2673f79af2c90d9d56b1aaf0.tar.gz
meson-23818fc5a389c49e2673f79af2c90d9d56b1aaf0.tar.bz2
typing: more fixes
Diffstat (limited to 'mesonbuild/scripts')
-rw-r--r--mesonbuild/scripts/depfixer.py2
-rw-r--r--mesonbuild/scripts/meson_exe.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/scripts/depfixer.py b/mesonbuild/scripts/depfixer.py
index a64caca..76cf2b5 100644
--- a/mesonbuild/scripts/depfixer.py
+++ b/mesonbuild/scripts/depfixer.py
@@ -311,7 +311,7 @@ class Elf(DataSizes):
old_rpath = self.read_str()
# Some rpath entries may come from multiple sources.
# Only add each one once.
- new_rpaths = OrderedSet()
+ new_rpaths = OrderedSet() # type: OrderedSet[bytes]
if new_rpath:
new_rpaths.add(new_rpath)
if old_rpath:
diff --git a/mesonbuild/scripts/meson_exe.py b/mesonbuild/scripts/meson_exe.py
index 68ba120..df54b47 100644
--- a/mesonbuild/scripts/meson_exe.py
+++ b/mesonbuild/scripts/meson_exe.py
@@ -57,7 +57,7 @@ def run_exe(exe: ExecutableSerialisation) -> int:
if p.returncode == 0xc0000135:
# STATUS_DLL_NOT_FOUND on Windows indicating a common problem that is otherwise hard to diagnose
- raise FileNotFoundError('Missing DLLs on calling {!r}'.format(exe.name))
+ raise FileNotFoundError('Missing DLLs on calling {!r}'.format(cmd_args))
if exe.capture and p.returncode == 0:
skip_write = False