From ad5dcafac42018ea2b4eaebb666943625a66e67c Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Sat, 30 Mar 2002 23:44:58 +0000 Subject: [PATCH] Got rid of obsolete way to get at various toolbox types. --- Mac/Lib/aepack.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Mac/Lib/aepack.py b/Mac/Lib/aepack.py index 331a53ee8b..f58dd33f4a 100644 --- a/Mac/Lib/aepack.py +++ b/Mac/Lib/aepack.py @@ -57,11 +57,9 @@ unpacker_coercions = { # # Some python types we need in the packer: # -AEDescType = type(AE.AECreateDesc('TEXT', '')) -_sample_fss = macfs.FSSpec(':') -_sample_alias = _sample_fss.NewAliasMinimal() -FSSType = type(_sample_fss) -AliasType = type(_sample_alias) +AEDescType = AE.AEDescType +FSSType = macfs.FSSpecType +AliasType = macfs.AliasType def pack(x, forcetype = None): """Pack a python object into an AE descriptor""" -- 2.50.0