diff options
Diffstat (limited to 'Lib/plat-mac/aetools.py')
-rw-r--r-- | Lib/plat-mac/aetools.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/plat-mac/aetools.py b/Lib/plat-mac/aetools.py index 79d6958..8ac293d 100644 --- a/Lib/plat-mac/aetools.py +++ b/Lib/plat-mac/aetools.py @@ -92,7 +92,7 @@ def packevent(ae, parameters = {}, attributes = {}): for key, value in parameters.items(): packkey(ae, key, value) for key, value in attributes.items(): - packkey(ae, key, value) + ae.AEPutAttributeDesc(key, pack(value)) # # Support routine for automatically generated Suite interfaces @@ -116,7 +116,7 @@ def enumsubst(arguments, key, edict): v = arguments[key] ok = edict.values() if edict.has_key(v): - arguments[key] = edict[v] + arguments[key] = Enum(edict[v]) elif not v in ok: raise TypeError, 'Unknown enumerator: %s'%v |