diff options
Diffstat (limited to 'Lib/os2emxpath.py')
-rw-r--r-- | Lib/os2emxpath.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/os2emxpath.py b/Lib/os2emxpath.py index 01db974beb..451fb0e9ab 100644 --- a/Lib/os2emxpath.py +++ b/Lib/os2emxpath.py @@ -194,7 +194,7 @@ def getatime(filename): def islink(path): """Test for symbolic link. On OS/2 always returns false""" - return 0 + return False # Does a path exist? @@ -216,7 +216,7 @@ def isdir(path): try: st = os.stat(path) except os.error: - return 0 + return False return stat.S_ISDIR(st[stat.ST_MODE]) @@ -229,7 +229,7 @@ def isfile(path): try: st = os.stat(path) except os.error: - return 0 + return False return stat.S_ISREG(st[stat.ST_MODE]) |