summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-04-05 13:14:33 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-04-05 13:14:41 +0200
commit7e4c150573d6af7072f2b55ae76dc7b723f21f66 (patch)
treef24cbccb8f33c85eff5732f14133a68226d9b2a0 /SConstruct
parent4ff5731705af503166cd10fc9ee4345ef1b26e2d (diff)
downloadredot-engine-7e4c150573d6af7072f2b55ae76dc7b723f21f66.tar.gz
SCons: Fix up build with Python 3.10
It gives: > SyntaxError: f-string expression part cannot include a backslash Follow-up to #90214.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 5e72ae0705..2cce05a20b 100644
--- a/SConstruct
+++ b/SConstruct
@@ -335,7 +335,7 @@ if selected_platform not in platform_list:
elif selected_platform != "list":
print(f'Invalid target platform "{selected_platform}".')
- print(f"The following platforms are available:\n\t{'\n\t'.join(platform_list)}\n")
+ print("The following platforms are available:\n\t{}\n".format("\n\t".join(platform_list)))
print("Please run SCons again and select a valid platform: platform=<string>.")
Exit(0 if selected_platform == "list" else 255)