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/Tools/CGI | |
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/Tools/CGI')
-rw-r--r-- | Mac/Tools/CGI/BuildCGIApplet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Tools/CGI/BuildCGIApplet.py b/Mac/Tools/CGI/BuildCGIApplet.py index 8c9a633..c94eca9 100644 --- a/Mac/Tools/CGI/BuildCGIApplet.py +++ b/Mac/Tools/CGI/BuildCGIApplet.py @@ -64,7 +64,7 @@ def mkcgifilename(filename): def buildone(template, wrapper, src, dst): buildtools.process(template, wrapper, dst, 1) # write source as a PYC resource into dst - ref = Res.OpenResFile(dst) + ref = Res.FSpOpenResFile(dst, 1) try: Res.UseResFile(ref) py_resource.frompyfile(src, "CGI_MAIN", preload=1) |