From: Guido van Rossum Date: Tue, 4 Nov 1997 18:40:53 +0000 (+0000) Subject: islink() returns false, but there is no constant false! Return 0 instead. X-Git-Tag: v1.5b1~127 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bfa9f13e14078d0ab17dfa81e32aa3b6d253c650;p=thirdparty%2FPython%2Fcpython.git islink() returns false, but there is no constant false! Return 0 instead. --- diff --git a/Lib/dospath.py b/Lib/dospath.py index 73e6377b4f86..e003db149fb4 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?