mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge python EnvironmentError, IOError and WindowsError into OSError.
This commit is contained in:
parent
39228830ce
commit
cba4a93a34
3 changed files with 8 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue