From 7076cc084f92bcb85d8364eb3a6ec19daaf16024 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 3 Apr 2022 11:10:39 +0200 Subject: [PATCH] Use the more modern python string declaration --- util/remaining-gnu-error.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/remaining-gnu-error.py b/util/remaining-gnu-error.py index 79f1ae790..5be7e784c 100755 --- a/util/remaining-gnu-error.py +++ b/util/remaining-gnu-error.py @@ -30,7 +30,7 @@ for d in data: for e in data[d]: # Not all the tests are .sh files, rename them if not. script = e.replace(".log", ".sh") - a = "%s%s/%s" % (base, d, script) + a = f"{base}{d}{script}" if not os.path.exists(a): a = a.replace(".sh", ".pl") if not os.path.exists(a):