summaryrefslogtreecommitdiffstats
path: root/Lib/lib-old
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-12-26 13:06:22 (GMT)
committerGuido van Rossum <guido@python.org>1991-12-26 13:06:22 (GMT)
commitdecc4b99e136000e4f03df676ff672c0eccafd3c (patch)
tree227bfdcb058979b8d8d98b733c291d1785b2f1e7 /Lib/lib-old
parent1820010c1a6e6338b8dd927364662aa99d18b1d4 (diff)
downloadcpython-decc4b99e136000e4f03df676ff672c0eccafd3c.zip
cpython-decc4b99e136000e4f03df676ff672c0eccafd3c.tar.gz
cpython-decc4b99e136000e4f03df676ff672c0eccafd3c.tar.bz2
Use ImportError
Diffstat (limited to 'Lib/lib-old')
-rw-r--r--Lib/lib-old/tb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-old/tb.py b/Lib/lib-old/tb.py
index e0f2748..ec63104 100644
--- a/Lib/lib-old/tb.py
+++ b/Lib/lib-old/tb.py
@@ -5,7 +5,7 @@ import sys
try:
import mac
os = mac
-except NameError:
+except ImportError:
import posix
os = posix
from stat import *