From aa3760d91d66011aaafbccaeef8827f76e4b4230 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 26 Dec 1991 13:05:14 +0000 Subject: [PATCH] Use ImportError. --- Lib/importall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/importall.py b/Lib/importall.py index 038b92fd153..57e6821306a 100755 --- a/Lib/importall.py +++ b/Lib/importall.py @@ -6,7 +6,7 @@ import posix os = posix import path -except NameError: +except ImportError: import mac os = mac import macpath