mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue