mirror of
https://github.com/python/cpython
synced 2024-09-19 23:51:46 +00:00
Go from filename to FSSpec via FSRefs, to work around outdated macfs module
in python 2.2.
This commit is contained in:
parent
d892d4e1c0
commit
4ea1f455d7
|
@ -86,7 +86,7 @@ def buildapplet():
|
|||
verbose = 'default'
|
||||
# Loop over all files to be processed
|
||||
for filename in args:
|
||||
cr, tp = MacOS.GetCreatorAndType(filename)
|
||||
cr, tp = MacOS.GetCreatorAndType(macfs.FSRef(filename))
|
||||
if tp == 'APPL':
|
||||
buildtools.update(template, filename, dstfilename)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue