Skip to content

Commit 05bbf63

Browse files
author
Pavel Marek
committed
Remove f-strings in python sources
1 parent 76359b3 commit 05bbf63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

com.oracle.truffle.r.test.packages/pkgtest/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def computeApiChecksum(includeDir):
251251
with open(fileName) as f:
252252
fileContent = f.read().encode()
253253
m.update(fileContent)
254-
logging.log(VERY_VERBOSE, f"{m.hexdigest()} is checksum after updating with {fileName}")
254+
logging.log(VERY_VERBOSE, "{0} is checksum after updating with {1}".format(m.hexdigest(), fileName))
255255
except IOError as e:
256256
# Ignore errors on broken symlinks
257257
if not os.path.islink(fileName) or os.path.exists(fileName):

mx.fastr/mx_fastr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ def build_binary_pkgs(args_in, **kwargs):
899899
finally:
900900
sys.stdout = sys.__stdout__
901901
checksum_lines = string_io.getvalue().splitlines(keepends=False)
902-
mx.log(f"===== Output of 'mx r-pkgcache --print-api-checksum --vm fastr': =====")
902+
mx.log("===== Output of 'mx r-pkgcache --print-api-checksum --vm fastr': =====")
903903
mx.log(string_io.getvalue())
904904
mx.log("===== End of output of 'mx r-pkgcache --print-api-checksum --vm fastr' =====")
905905
with open(os.path.join(pkgs_path, 'api-checksum.txt'), 'w') as f:

0 commit comments

Comments
 (0)