Commit 13ad35a7 authored by Guido van Rossum's avatar Guido van Rossum

real test for executable script

parent 5bb05da6
......@@ -186,7 +186,7 @@ def executable(path):
st = os.stat(path)
except os.error:
return 0
return 1
return st[0] & 0111 != 0
def test(HandlerClass = CGIHTTPRequestHandler,
......
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