summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2001-09-24 17:29:09 (GMT)
committerJust van Rossum <just@letterror.com>2001-09-24 17:29:09 (GMT)
commitc72d4cddc989a66da1f56f59bc3fc7c37df28915 (patch)
tree41f03887fa85c19e7584ab646c603f9eef9b509e /Mac
parent287620f50d8b45a966280610165904b5b1c6be29 (diff)
downloadcpython-c72d4cddc989a66da1f56f59bc3fc7c37df28915.zip
cpython-c72d4cddc989a66da1f56f59bc3fc7c37df28915.tar.gz
cpython-c72d4cddc989a66da1f56f59bc3fc7c37df28915.tar.bz2
Fixed old bug (caused by careless Carbonizing) that noone noticed until
this week (apparently me and Bob Heeter at more or less the same time).
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Tools/CGI/BuildCGIApplet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Tools/CGI/BuildCGIApplet.py b/Mac/Tools/CGI/BuildCGIApplet.py
index 93c3909..0ee2ce0 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.FSpOpenResFile(dst, 1)
+ ref = Res.FSpOpenResFile(dst, 2)
try:
Res.UseResFile(ref)
py_resource.frompyfile(src, "CGI_MAIN", preload=1)