You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge python EnvironmentError, IOError and WindowsError into OSError.
This commit is contained in:
@@ -55,7 +55,7 @@ def run_in_subprocess(builder_function):
|
||||
finally:
|
||||
try:
|
||||
os.remove(json_path)
|
||||
except (OSError, IOError) as e:
|
||||
except OSError as e:
|
||||
# Do not fail the entire build if it cannot delete a temporary file
|
||||
print(
|
||||
"WARNING: Could not delete temporary file: path=%r; [%s] %s" % (json_path, e.__class__.__name__, e)
|
||||
|
||||
Reference in New Issue
Block a user