aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/depfixer.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2020-09-01 19:58:10 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2020-09-08 20:15:58 +0200
commite681235e5fe3ee0a40dd6a3f5922c2c4b0cf98b4 (patch)
tree947e279889b5f7682dcd4c11beea279c24cb67bf /mesonbuild/scripts/depfixer.py
parent47373a2438c0fdeedd229b921c9d7e8dc1fc956a (diff)
downloadmeson-e681235e5fe3ee0a40dd6a3f5922c2c4b0cf98b4.zip
meson-e681235e5fe3ee0a40dd6a3f5922c2c4b0cf98b4.tar.gz
meson-e681235e5fe3ee0a40dd6a3f5922c2c4b0cf98b4.tar.bz2
typing: fix code review
Diffstat (limited to 'mesonbuild/scripts/depfixer.py')
-rw-r--r--mesonbuild/scripts/depfixer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/scripts/depfixer.py b/mesonbuild/scripts/depfixer.py
index 76cf2b5..18d70cc 100644
--- a/mesonbuild/scripts/depfixer.py
+++ b/mesonbuild/scripts/depfixer.py
@@ -328,7 +328,7 @@ class Elf(DataSizes):
new_rpath = b':'.join(new_rpaths)
if len(old_rpath) < len(new_rpath):
- msg = "New rpath must not be longer than the old one.\n Old: {!r}\n New: {!r}".format(old_rpath, new_rpath)
+ msg = "New rpath must not be longer than the old one.\n Old: {}\n New: {}".format(old_rpath.decode('utf-8'), new_rpath.decode('utf-8'))
sys.exit(msg)
# The linker does read-only string deduplication. If there is a
# string that shares a suffix with the rpath, they might get