summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/CGI/PythonCGISlave.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-08-25 12:15:04 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-08-25 12:15:04 (GMT)
commit5a6fdcd3718927109592c6df692fe24a8fdaee31 (patch)
tree3816c4cbfcf1533dee55a48a8eec2c3557ae44cc /Mac/Tools/CGI/PythonCGISlave.py
parent6dba6bc0a226c2dd384d9311b9ad842be653c2b5 (diff)
downloadcpython-5a6fdcd3718927109592c6df692fe24a8fdaee31.zip
cpython-5a6fdcd3718927109592c6df692fe24a8fdaee31.tar.gz
cpython-5a6fdcd3718927109592c6df692fe24a8fdaee31.tar.bz2
Import the MacOS toolbox modules from the Carbon package.
Diffstat (limited to 'Mac/Tools/CGI/PythonCGISlave.py')
-rw-r--r--Mac/Tools/CGI/PythonCGISlave.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mac/Tools/CGI/PythonCGISlave.py b/Mac/Tools/CGI/PythonCGISlave.py
index d2dd90f..f14a582 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: