summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-12-26 13:05:14 (GMT)
committerGuido van Rossum <guido@python.org>1991-12-26 13:05:14 (GMT)
commitaa3760d91d66011aaafbccaeef8827f76e4b4230 (patch)
tree9762616ded5a3536ea717b42e562974a6deb98a5
parent61f9d0d242ef111c44cef25deff53051b26053b8 (diff)
downloadcpython-aa3760d91d66011aaafbccaeef8827f76e4b4230.zip
cpython-aa3760d91d66011aaafbccaeef8827f76e4b4230.tar.gz
cpython-aa3760d91d66011aaafbccaeef8827f76e4b4230.tar.bz2
Use ImportError.
-rwxr-xr-xLib/importall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importall.py b/Lib/importall.py
index 038b92f..57e6821 100755
--- a/Lib/importall.py
+++ b/Lib/importall.py
@@ -6,7 +6,7 @@ try:
import posix
os = posix
import path
-except NameError:
+except ImportError:
import mac
os = mac
import macpath