Use the more modern python string declaration

This commit is contained in:
Sylvestre Ledru
2022-04-03 11:10:39 +02:00
committed by GitHub
parent 950432e492
commit 7076cc084f
+1 -1
View File
@@ -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):