Kaydet (Commit) 14bb71d5 authored tarafından Fred Drake's avatar Fred Drake

os.fork raises AttributeError, not NameError, if fork() isn't

supported.  Pointed out by Moshe Zadka <moshez@math.huji.ac.il>.
üst 40e84db0
......@@ -21,7 +21,7 @@ import SimpleHTTPServer
try:
os.fork
except NameError:
except AttributeError:
raise SystemError, __name__ + " requires os.fork()"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment