summaryrefslogtreecommitdiffstats
path: root/Lib/macpath.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/macpath.py')
-rw-r--r--Lib/macpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/macpath.py b/Lib/macpath.py
index c5af102..d34f9e94 100644
--- a/Lib/macpath.py
+++ b/Lib/macpath.py
@@ -187,7 +187,7 @@ def realpath(path):
path = abspath(path)
try:
import Carbon.File
- except ModuleNotFoundError:
+ except ImportError:
return path
if not path:
return path