mirror of https://github.com/python/cpython
raise aetools.Error in stead of MacOS.Error on server-generated errors
This commit is contained in:
parent
433a48ef36
commit
977fbf271e
|
@ -344,7 +344,7 @@ def compileevent(fp, event):
|
||||||
# Error handling
|
# Error handling
|
||||||
#
|
#
|
||||||
fp.write("\t\tif _arguments.has_key('errn'):\n")
|
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")
|
fp.write("\t\t# XXXX Optionally decode result\n")
|
||||||
#
|
#
|
||||||
# Decode result
|
# Decode result
|
||||||
|
|
Loading…
Reference in New Issue