summaryrefslogtreecommitdiffstats
path: root/Lib/tb.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/tb.py')
-rw-r--r--Lib/tb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tb.py b/Lib/tb.py
index e0f2748..ec63104 100644
--- a/Lib/tb.py
+++ b/Lib/tb.py
@@ -5,7 +5,7 @@ import sys
try:
import mac
os = mac
-except NameError:
+except ImportError:
import posix
os = posix
from stat import *