diff --git a/Mac/scripts/gensuitemodule.py b/Mac/scripts/gensuitemodule.py index 97a08e60aed..ff818fc585c 100644 --- a/Mac/scripts/gensuitemodule.py +++ b/Mac/scripts/gensuitemodule.py @@ -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