Mailing List Archive

CVS: python/dist/src/Mac/Lib aepack.py,1.3,1.4
Update of /cvsroot/python/python/dist/src/Mac/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv8701/Lib

Modified Files:
aepack.py
Log Message:
Got rid of obsolete way to get at various toolbox types.


Index: aepack.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/aepack.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** aepack.py 5 Feb 2002 21:24:47 -0000 1.3
--- aepack.py 30 Mar 2002 23:44:58 -0000 1.4
***************
*** 58,66 ****
# 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)

def pack(x, forcetype = None):
--- 58,64 ----
# Some python types we need in the packer:
#
! AEDescType = AE.AEDescType
! FSSType = macfs.FSSpecType
! AliasType = macfs.AliasType

def pack(x, forcetype = None):