islink() returns false, but there is no constant false! Return 0 instead.

This commit is contained in:
Guido van Rossum 1997-11-04 18:40:53 +00:00
parent 79b2038aa4
commit bfa9f13e14
1 changed files with 1 additions and 1 deletions

View File

@ -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?