summaryrefslogtreecommitdiffstats
path: root/Lib/os2emxpath.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/os2emxpath.py')
-rw-r--r--Lib/os2emxpath.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/os2emxpath.py b/Lib/os2emxpath.py
index e4d63c6..01db974 100644
--- a/Lib/os2emxpath.py
+++ b/Lib/os2emxpath.py
@@ -205,8 +205,8 @@ def exists(path):
try:
st = os.stat(path)
except os.error:
- return 0
- return 1
+ return False
+ return True
# Is a path a directory?