mirror of
https://github.com/uutils/coreutils
synced 2024-10-15 12:24:09 +00:00
Use the more modern python string declaration
This commit is contained in:
parent
950432e492
commit
7076cc084f
|
@ -30,7 +30,7 @@ for d in data:
|
||||||
for e in data[d]:
|
for e in data[d]:
|
||||||
# Not all the tests are .sh files, rename them if not.
|
# Not all the tests are .sh files, rename them if not.
|
||||||
script = e.replace(".log", ".sh")
|
script = e.replace(".log", ".sh")
|
||||||
a = "%s%s/%s" % (base, d, script)
|
a = f"{base}{d}{script}"
|
||||||
if not os.path.exists(a):
|
if not os.path.exists(a):
|
||||||
a = a.replace(".sh", ".pl")
|
a = a.replace(".sh", ".pl")
|
||||||
if not os.path.exists(a):
|
if not os.path.exists(a):
|
||||||
|
|
Loading…
Reference in a new issue