mirror of https://github.com/python/cpython
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).
This commit is contained in:
parent
287620f50d
commit
c72d4cddc9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue