diff --git a/Lib/macpath.py b/Lib/macpath.py index 24f4a141d44..d358bd2018c 100644 --- a/Lib/macpath.py +++ b/Lib/macpath.py @@ -125,7 +125,7 @@ def islink(s): """Return true if the pathname refers to a symbolic link.""" try: - import macfs + import macfs return macfs.ResolveAliasFile(s)[2] except: return False