diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-11-15 00:08:29 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-11-15 00:08:29 (GMT) |
commit | 4ea1f455d7e3d87fda1b121a1fc543a4b792c0da (patch) | |
tree | 1101994b68084de9a38ebc53422ed158fcb205e4 /Mac | |
parent | d892d4e1c0a99dcd2ce4d2dae7f5b96fa94d7ca1 (diff) | |
download | cpython-4ea1f455d7e3d87fda1b121a1fc543a4b792c0da.zip cpython-4ea1f455d7e3d87fda1b121a1fc543a4b792c0da.tar.gz cpython-4ea1f455d7e3d87fda1b121a1fc543a4b792c0da.tar.bz2 |
Go from filename to FSSpec via FSRefs, to work around outdated macfs module
in python 2.2.
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/scripts/BuildApplet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/scripts/BuildApplet.py b/Mac/scripts/BuildApplet.py index 5e0bc27..9e68279 100644 --- a/Mac/scripts/BuildApplet.py +++ b/Mac/scripts/BuildApplet.py @@ -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: |