diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-06-20 21:59:25 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-06-20 21:59:25 (GMT) |
commit | d13c3854629d605236c4d7cc8589a647b069207e (patch) | |
tree | de7c4a95117ecc763490fa17a6ef943873683ecd /Mac/Lib/cfmfile.py | |
parent | 3c0d013db40bd704908d7067228d35ed3f6b46c5 (diff) | |
download | cpython-d13c3854629d605236c4d7cc8589a647b069207e.zip cpython-d13c3854629d605236c4d7cc8589a647b069207e.tar.gz cpython-d13c3854629d605236c4d7cc8589a647b069207e.tar.bz2 |
Replaced OpenResFile calls with FSpOpenResFile calls (which are carbon-compatible).
Diffstat (limited to 'Mac/Lib/cfmfile.py')
-rw-r--r-- | Mac/Lib/cfmfile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Lib/cfmfile.py b/Mac/Lib/cfmfile.py index 27c0f1c..cef28fe 100644 --- a/Mac/Lib/cfmfile.py +++ b/Mac/Lib/cfmfile.py @@ -34,7 +34,7 @@ def mergecfmfiles(srclist, dst, architecture = 'fat'): dst = dst.as_pathname() dstfile = open(dst, "wb") - rf = Res.OpenResFile(dst) + rf = Res.FSpOpenResFile(dst, 3) try: dstcfrg = CfrgResource() for src in srclist: @@ -64,7 +64,7 @@ class CfrgResource: self.path = path if path is not None and os.path.exists(path): currentresref = Res.CurResFile() - resref = Res.OpenResFile(path) + resref = Res.FSpOpenResFile(path, 1) Res.UseResFile(resref) try: try: |