mirror of https://github.com/python/cpython.git
islink() returns false, but there is no constant false! Return 0 instead.
This commit is contained in:
parent
79b2038aa4
commit
bfa9f13e14
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue