Got rid of obsolete way to get at various toolbox types.

This commit is contained in:
Jack Jansen 2002-03-30 23:44:58 +00:00
parent 77afbc0b3b
commit ad5dcafac4
1 changed files with 3 additions and 5 deletions

View File

@ -57,11 +57,9 @@
#
# 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"""