diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-01-29 15:32:00 +0000 |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-01-29 15:32:00 +0000 |
commit | 01a2d9e281a3b9ce7762c1ee192ae1f38d037fe7 (patch) | |
tree | a82d21b09c0d3a22ddb789e78b8d0229ade3766a /Mac/Lib/buildtools.py | |
parent | bf21bef2543e5045f3569cd9227d6b7921dda59c (diff) | |
download | cpython-git-01a2d9e281a3b9ce7762c1ee192ae1f38d037fe7.tar.gz |
Use FSpCreateResFile() in stead of CreateResFile().
Don't call OpenDeskAcc() and AppendResMenu() on Carbon.
Diffstat (limited to 'Mac/Lib/buildtools.py')
-rw-r--r-- | Mac/Lib/buildtools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Lib/buildtools.py b/Mac/Lib/buildtools.py index e8c6eb0108..2a8fd03cfb 100644 --- a/Mac/Lib/buildtools.py +++ b/Mac/Lib/buildtools.py @@ -140,7 +140,7 @@ def process_common(template, progress, code, rsrcname, destname, is_update, copy try: output = Res.FSpOpenResFile(dest_fss, WRITE) except MacOS.Error: - Res.CreateResFile(destname) + Res.FSpCreateResFile(destname, '????', 'APPL', MACFS.smAllScripts) output = Res.FSpOpenResFile(dest_fss, WRITE) # Copy the resources from the target specific resource template, if any |