mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Go from filename to FSSpec via FSRefs, to work around outdated macfs module
in python 2.2.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user