Merge pull request #68204 from dzil123/v3_fix_version_info_status

(3.x) Fix compilation with custom "GODOT_VERSION_STATUS"
This commit is contained in:
Rémi Verschelde 2022-11-03 11:33:11 +01:00
commit 45b1a5c758
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -92,7 +92,9 @@ def get_version_info(module_version_string="", silent=False):
version_info["status"] = str(os.getenv("GODOT_VERSION_STATUS")) version_info["status"] = str(os.getenv("GODOT_VERSION_STATUS"))
if not silent: if not silent:
print( print(
"Using version status '{}', overriding the original '{}'.".format(version_info.status, version.status) "Using version status '{}', overriding the original '{}'.".format(
version_info["status"], version.status
)
) )
# Parse Git hash if we're in a Git repo. # Parse Git hash if we're in a Git repo.