]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Use ImportError.
authorGuido van Rossum <guido@python.org>
Thu, 26 Dec 1991 13:05:14 +0000 (13:05 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 26 Dec 1991 13:05:14 +0000 (13:05 +0000)
Lib/importall.py

index 038b92fd15386229b9151deeff26041332e33ff5..57e6821306aef577e44ae976894485e3d248f0fd 100755 (executable)
@@ -6,7 +6,7 @@ try:
        import posix
        os = posix
        import path
-except NameError:
+except ImportError:
        import mac
        os = mac
        import macpath