diff --git a/Lib/CGIHTTPServer.py b/Lib/CGIHTTPServer.py index eb1ee198b33..6c3e09ea9be 100644 --- a/Lib/CGIHTTPServer.py +++ b/Lib/CGIHTTPServer.py @@ -182,7 +182,7 @@ class CGIHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): for k in ('QUERY_STRING', 'REMOTE_HOST', 'CONTENT_LENGTH', 'HTTP_USER_AGENT', 'HTTP_COOKIE'): env.setdefault(k, "") - so.environ.update(env) + os.environ.update(env) self.send_response(200, "Script output follows")