diff options
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Lib/aetools.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Mac/Lib/aetools.py b/Mac/Lib/aetools.py index 5495dfa..8d9657e 100644 --- a/Mac/Lib/aetools.py +++ b/Mac/Lib/aetools.py @@ -65,6 +65,14 @@ def unpackevent(ae, formodulename=""): else: parameters['----'] = unpack(dirobj, formodulename) del dirobj + # Workaround for what I feel is a bug in OSX 10.2: 'errn' won't show up in missed... + try: + dirobj = ae.AEGetParamDesc('errn', '****') + except AE.Error: + pass + else: + parameters['errn'] = unpack(dirobj, formodulename) + del dirobj while 1: key = missed(ae) if not key: break |