summaryrefslogtreecommitdiff
path: root/Mac/Lib/buildtools.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-01-29 15:32:00 +0000
committerJack Jansen <jack.jansen@cwi.nl>2001-01-29 15:32:00 +0000
commit01a2d9e281a3b9ce7762c1ee192ae1f38d037fe7 (patch)
treea82d21b09c0d3a22ddb789e78b8d0229ade3766a /Mac/Lib/buildtools.py
parentbf21bef2543e5045f3569cd9227d6b7921dda59c (diff)
downloadcpython-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.py2
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