summaryrefslogtreecommitdiffstats
path: root/Lib/os.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/os.py')
-rw-r--r--Lib/os.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/os.py b/Lib/os.py
index 556268f..dc1ef5a 100644
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -18,7 +18,10 @@
try:
from posix import *
- from posix import _exit
+ try:
+ from posix import _exit
+ except ImportError:
+ pass
name = 'posix'
curdir = '.'
pardir = '..'