diff options
author | Guido van Rossum <guido@python.org> | 1997-11-04 18:40:53 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-11-04 18:40:53 (GMT) |
commit | bfa9f13e14078d0ab17dfa81e32aa3b6d253c650 (patch) | |
tree | 6419dc3a60c8a88b9a5199b1da343aca3faaaf10 /Lib/dospath.py | |
parent | 79b2038aa40a7532e7aa3dc9c3bfbc3fd1228630 (diff) | |
download | cpython-bfa9f13e14078d0ab17dfa81e32aa3b6d253c650.zip cpython-bfa9f13e14078d0ab17dfa81e32aa3b6d253c650.tar.gz cpython-bfa9f13e14078d0ab17dfa81e32aa3b6d253c650.tar.bz2 |
islink() returns false, but there is no constant false! Return 0 instead.
Diffstat (limited to 'Lib/dospath.py')
-rw-r--r-- | Lib/dospath.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dospath.py b/Lib/dospath.py index 73e6377..e003db1 100644 --- a/Lib/dospath.py +++ b/Lib/dospath.py @@ -134,7 +134,7 @@ def commonprefix(m): # This will always return false on systems where posix.lstat doesn't exist. def islink(path): - return false + return 0 # Does a path exist? |