summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-08-05 13:32:20 +0200
committerGitHub <noreply@github.com>2021-08-05 13:32:20 +0200
commit66d968e4b62fe8e58091dc27ab35b2d7557d2e2a (patch)
treef769de66305a9e7471c52ffc194d531ee0b7dceb
parenta544e77822b40b39198f92ee3346bbfe7921ac41 (diff)
parente92ba89dc712dc6d1d65d88332ebca5bbff2e660 (diff)
Merge pull request #51272 from akien-mga/scons-message-status-override
SCons: Fix info message when defining `GODOT_VERSION_STATUS`
-rw-r--r--methods.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods.py b/methods.py
index 12f9db37e7..13851d8315 100644
--- a/methods.py
+++ b/methods.py
@@ -83,7 +83,7 @@ def update_version(module_version_string=""):
godot_status = str(version.status)
if os.getenv("GODOT_VERSION_STATUS") != None:
godot_status = str(os.getenv("GODOT_VERSION_STATUS"))
- print("Using version status '%s', overriding the original '%s'.".format(godot_status, str(version.status)))
+ print("Using version status '{}', overriding the original '{}'.".format(godot_status, str(version.status)))
f.write('#define VERSION_STATUS "' + godot_status + '"\n')
f.write('#define VERSION_BUILD "' + str(build_name) + '"\n')
f.write('#define VERSION_MODULE_CONFIG "' + str(version.module_config) + module_version_string + '"\n')