summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2023-08-09 21:44:36 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2023-08-10 18:13:29 +0200
commitde9eca7e86bfd5bbd8c72aa398c68069fff4d9c9 (patch)
tree1f18aeca0b59f5130f3728e3c202b5025f19e870
parenttools: pylint list-discoverable-partitions.py (diff)
downloadsystemd-de9eca7e86bfd5bbd8c72aa398c68069fff4d9c9.tar.xz
systemd-de9eca7e86bfd5bbd8c72aa398c68069fff4d9c9.zip
tools: pylint gdb-sd_dump_hashmaps.py
-rw-r--r--tools/gdb-sd_dump_hashmaps.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/gdb-sd_dump_hashmaps.py b/tools/gdb-sd_dump_hashmaps.py
index d2388b7171..57f825a09c 100644
--- a/tools/gdb-sd_dump_hashmaps.py
+++ b/tools/gdb-sd_dump_hashmaps.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python3
# SPDX-License-Identifier: LGPL-2.1-or-later
+# pylint: disable=consider-using-f-string
import gdb
@@ -9,7 +10,7 @@ class sd_dump_hashmaps(gdb.Command):
def __init__(self):
super().__init__("sd_dump_hashmaps", gdb.COMMAND_DATA, gdb.COMPLETE_NONE)
- def invoke(self, arg, from_tty):
+ def invoke(self, arg, _from_tty):
d = gdb.parse_and_eval("hashmap_debug_list")
hashmap_type_info = gdb.parse_and_eval("hashmap_type_info")
uchar_t = gdb.lookup_type("unsigned char")