From: Guido van Rossum Date: Thu, 26 Dec 1991 13:05:14 +0000 (+0000) Subject: Use ImportError. X-Git-Tag: v0.9.8~656 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa3760d91d66011aaafbccaeef8827f76e4b4230;p=thirdparty%2FPython%2Fcpython.git Use ImportError. --- diff --git a/Lib/importall.py b/Lib/importall.py index 038b92fd1538..57e6821306ae 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