[Python-checkins] CVS: python/dist/src/Mac/Tools/CGI PythonCGISlave.py,1.1,1.2

Jack Jansen jackjansen@users.sourceforge.net
2001年8月25日 05:10:22 -0700


Update of /cvsroot/python/python/dist/src/Mac/Tools/CGI
In directory usw-pr-cvs1:/tmp/cvs-serv21208/Python/Mac/Tools/CGI
Modified Files:
	PythonCGISlave.py 
Log Message:
Import the MacOS toolbox modules from the Carbon package.
Index: PythonCGISlave.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Tools/CGI/PythonCGISlave.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** PythonCGISlave.py	2000年03月28日 12:05:12	1.1
--- PythonCGISlave.py	2001年08月25日 12:10:20	1.2
***************
*** 71,75 ****
 def get_cgi_code():
 	# If we're a CGI wrapper, the CGI code resides in a PYC resource.
! 	import Res, marshal
 	try:
 		code = Res.GetNamedResource('PYC ', "CGI_MAIN")
--- 71,76 ----
 def get_cgi_code():
 	# If we're a CGI wrapper, the CGI code resides in a PYC resource.
! 	from Carbon import Res
! 	import marshal
 	try:
 		code = Res.GetNamedResource('PYC ', "CGI_MAIN")

AltStyle によって変換されたページ (->オリジナル) /