[Python-checkins] CVS: python/dist/src/Mac/Tools/CGI BuildCGIApplet.py,1.4,1.5
Just van Rossum
jvr@users.sourceforge.net
Mon, 24 Sep 2001 10:29:11 -0700
Update of /cvsroot/python/python/dist/src/Mac/Tools/CGI
In directory usw-pr-cvs1:/tmp/cvs-serv18897
Modified Files:
BuildCGIApplet.py
Log Message:
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).
Index: BuildCGIApplet.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Tools/CGI/BuildCGIApplet.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** BuildCGIApplet.py 2001/08/25 12:01:48 1.4
--- BuildCGIApplet.py 2001/09/24 17:29:09 1.5
***************
*** 65,69 ****
buildtools.process(template, wrapper, dst, 1)
# write source as a PYC resource into dst
! ref = Res.FSpOpenResFile(dst, 1)
try:
Res.UseResFile(ref)
--- 65,69 ----
buildtools.process(template, wrapper, dst, 1)
# write source as a PYC resource into dst
! ref = Res.FSpOpenResFile(dst, 2)
try:
Res.UseResFile(ref)