mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
raise aetools.Error in stead of MacOS.Error on server-generated errors
This commit is contained in:
parent
433a48ef36
commit
977fbf271e
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ def compileevent(fp, event):
|
|||
# Error handling
|
||||
#
|
||||
fp.write("\t\tif _arguments.has_key('errn'):\n")
|
||||
fp.write("\t\t\traise MacOS.Error, aetools.decodeerror(_arguments)\n")
|
||||
fp.write("\t\t\traise aetools.Error, aetools.decodeerror(_arguments)\n")
|
||||
fp.write("\t\t# XXXX Optionally decode result\n")
|
||||
#
|
||||
# Decode result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue