Replaces IOError by OSError (#26428)
This commit is contained in:
1 parent
4004879ae0
commit
0df1b4c7a1
20 files changed
+24
-24
No files matched your search
@@ -27,7 +27,7 @@ def install_osx():
|
||||
try:
|
||||
with open(path, "w", encoding="utf-8") as outp:
|
||||
outp.write(plist)
|
||||
except IOError as err:
|
||||
except OSError as err:
|
||||
print("Unable to write to " + path, err)
|
||||
return
|
||||
|
||||
|
||||
Reference in new issue
Block a user