Import the MacOS toolbox modules from the Carbon package.

This commit is contained in:
Jack Jansen 2001-08-25 12:15:04 +00:00
parent 6dba6bc0a2
commit 5a6fdcd371
100 changed files with 336 additions and 331 deletions

View file

@ -70,7 +70,8 @@ Content-type: text/html
def get_cgi_code():
# If we're a CGI wrapper, the CGI code resides in a PYC resource.
import Res, marshal
from Carbon import Res
import marshal
try:
code = Res.GetNamedResource('PYC ', "CGI_MAIN")
except Res.Error: