diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-03-10 12:09:48 -0500 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-03-10 12:57:57 -0500 |
commit | fb299d0fb134c603eafe7737bab8d22ec0b1cd59 (patch) | |
tree | 7f8bfac3259a5c6f55d09c5e041357e98b3c7fe9 /modules/mono/build_scripts | |
parent | 0ace0a129284ffc6646b199699c1607a316fcec0 (diff) | |
download | redot-engine-fb299d0fb134c603eafe7737bab8d22ec0b1cd59.tar.gz |
SCons: Ensure `with` statement where applicable
Diffstat (limited to 'modules/mono/build_scripts')
-rwxr-xr-x | modules/mono/build_scripts/build_assemblies.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/mono/build_scripts/build_assemblies.py b/modules/mono/build_scripts/build_assemblies.py index 9ed87c7a8c..b3f583b1b8 100755 --- a/modules/mono/build_scripts/build_assemblies.py +++ b/modules/mono/build_scripts/build_assemblies.py @@ -314,7 +314,6 @@ def generate_sdk_package_versions(): # We write in ../SdkPackageVersions.props. with open(os.path.join(dirname(script_path), "SdkPackageVersions.props"), "w", encoding="utf-8", newline="\n") as f: f.write(props) - f.close() # Also write the versioned docs URL to a constant for the Source Generators. @@ -342,7 +341,6 @@ def generate_sdk_package_versions(): with open(os.path.join(generators_dir, "Common.Constants.cs"), "w", encoding="utf-8", newline="\n") as f: f.write(constants) - f.close() def build_all(msbuild_tool, module_dir, output_dir, godot_platform, dev_debug, push_nupkgs_local, precision): |