commit | 14bb71d5535747be9b3a10ff1cf7be9e15001d90 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Mon Oct 18 13:43:44 1999 +0000 |
committer | Fred Drake <fdrake@acm.org> | Mon Oct 18 13:43:44 1999 +0000 |
tree | 214145cdec14f2904c431adc3c63128b0dc37af6 | |
parent | 40e84db0f4ca06cfd40f6eebe2f9907797c8a67b [diff] [blame] |
os.fork raises AttributeError, not NameError, if fork() isn't supported. Pointed out by Moshe Zadka <moshez@math.huji.ac.il>.
diff --git a/Lib/CGIHTTPServer.py b/Lib/CGIHTTPServer.py index dc17392..fa30cbd 100644 --- a/Lib/CGIHTTPServer.py +++ b/Lib/CGIHTTPServer.py
@@ -21,7 +21,7 @@ try: os.fork -except NameError: +except AttributeError: raise SystemError, __name__ + " requires os.fork()"