From: Frantisek Sumsal Date: Wed, 9 Aug 2023 19:44:36 +0000 (+0200) Subject: tools: pylint gdb-sd_dump_hashmaps.py X-Git-Tag: v255-rc1~762^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=de9eca7e86bfd5bbd8c72aa398c68069fff4d9c9;p=thirdparty%2Fsystemd.git tools: pylint gdb-sd_dump_hashmaps.py --- diff --git a/tools/gdb-sd_dump_hashmaps.py b/tools/gdb-sd_dump_hashmaps.py index d2388b71715..57f825a09cc 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")