From adc41fa998fc15dff2c5edf3f57e6cd0970e17e5 Mon Sep 17 00:00:00 2001 From: Anubhav Shelat Date: Thu, 1 Jun 2023 16:27:34 -0400 Subject: rteval: Use f-strings in tools.py Use f-strings in tools.py Signed-off-by: Anubhav Shelat Signed-off-by: John Kacur --- rteval/sysinfo/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rteval/sysinfo/tools.py b/rteval/sysinfo/tools.py index 3993da413d8a..aa00b3d3eafc 100644 --- a/rteval/sysinfo/tools.py +++ b/rteval/sysinfo/tools.py @@ -40,5 +40,5 @@ def getcmdpath(which): pathSave[which] = cmdfile break if not pathSave[which]: - raise RuntimeError("Command '%s' is unknown on this system" % which) + raise RuntimeError(f"Command '{which}' is unknown on this system") return pathSave[which] -- 2.40.1