diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-08-25 12:15:04 +0000 |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-08-25 12:15:04 +0000 |
commit | 5a6fdcd3718927109592c6df692fe24a8fdaee31 (patch) | |
tree | 3816c4cbfcf1533dee55a48a8eec2c3557ae44cc /Mac/Tools/CGI/PythonCGISlave.py | |
parent | 6dba6bc0a226c2dd384d9311b9ad842be653c2b5 (diff) | |
download | cpython-git-5a6fdcd3718927109592c6df692fe24a8fdaee31.tar.gz |
Import the MacOS toolbox modules from the Carbon package.
Diffstat (limited to 'Mac/Tools/CGI/PythonCGISlave.py')
-rw-r--r-- | Mac/Tools/CGI/PythonCGISlave.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mac/Tools/CGI/PythonCGISlave.py b/Mac/Tools/CGI/PythonCGISlave.py index d2dd90ff76..f14a582dae 100644 --- a/Mac/Tools/CGI/PythonCGISlave.py +++ b/Mac/Tools/CGI/PythonCGISlave.py @@ -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: |