diff options
author | Guido van Rossum <guido@python.org> | 1991-12-26 13:05:14 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-12-26 13:05:14 (GMT) |
commit | aa3760d91d66011aaafbccaeef8827f76e4b4230 (patch) | |
tree | 9762616ded5a3536ea717b42e562974a6deb98a5 | |
parent | 61f9d0d242ef111c44cef25deff53051b26053b8 (diff) | |
download | cpython-aa3760d91d66011aaafbccaeef8827f76e4b4230.zip cpython-aa3760d91d66011aaafbccaeef8827f76e4b4230.tar.gz cpython-aa3760d91d66011aaafbccaeef8827f76e4b4230.tar.bz2 |
Use ImportError.
-rwxr-xr-x | Lib/importall.py | 2 |
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 |