diff options
author | Guido van Rossum <guido@python.org> | 2002-04-07 06:36:23 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-04-07 06:36:23 (GMT) |
commit | 8ca162f417c6a72faf02831457b4054a73087b78 (patch) | |
tree | 2d882f9a1fe596830f47f1132a5294633ba05f33 /Lib/CGIHTTPServer.py | |
parent | b8bff3f4a9e3be8b43a394d3795a46af2831fe5e (diff) | |
download | cpython-8ca162f417c6a72faf02831457b4054a73087b78.zip cpython-8ca162f417c6a72faf02831457b4054a73087b78.tar.gz cpython-8ca162f417c6a72faf02831457b4054a73087b78.tar.bz2 |
Partial introduction of bools where appropriate.
Diffstat (limited to 'Lib/CGIHTTPServer.py')
-rw-r--r-- | Lib/CGIHTTPServer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/CGIHTTPServer.py b/Lib/CGIHTTPServer.py index c3a6a18..56dee47 100644 --- a/Lib/CGIHTTPServer.py +++ b/Lib/CGIHTTPServer.py @@ -307,7 +307,7 @@ def executable(path): try: st = os.stat(path) except os.error: - return 0 + return False return st[0] & 0111 != 0 |