From 8f98e46ecb901df499010e77e17d044ce2f3f3a4 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sat, 22 Mar 2025 03:26:04 -0600 Subject: Python: Clean up f-strings --- gdb-helpers/libcr.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb-helpers/libcr.py') diff --git a/gdb-helpers/libcr.py b/gdb-helpers/libcr.py index f74a702..fcfd86e 100644 --- a/gdb-helpers/libcr.py +++ b/gdb-helpers/libcr.py @@ -1,6 +1,6 @@ # gdb-helpers/libcr.py - GDB helpers for libcr. # -# Copyright (C) 2024 Luke T. Shumaker +# Copyright (C) 2024-2025 Luke T. Shumaker # SPDX-License-Identifier: AGPL-3.0-or-later import contextlib @@ -428,11 +428,11 @@ class CrSelectCommand(gdb.Command): crs += [cr] match len(crs): case 0: - raise gdb.GdbError(f"No such coroutine: {repr(name)}") + raise gdb.GdbError(f"No such coroutine: {name!r}") case 1: return crs[0] case _: - raise gdb.GdbError(f"Ambiguous name, must use Id: {repr(name)}") + raise gdb.GdbError(f"Ambiguous name, must use Id: {name!r}") # Wire it all in ############################################################### -- cgit v1.2.3-2-g168b