Skip to content

Commit 720038b

Browse files
committed
Complete the backport of ALLOW_MISSING
1 parent dff62a1 commit 720038b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/posixpath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ def _joinrealpath(path, rest, strict, seen):
438438
newpath = join(path, name)
439439
try:
440440
st = os.lstat(newpath)
441-
except OSError:
441+
except ignored_error:
442442
is_link = False
443443
else:
444444
is_link = stat.S_ISLNK(st.st_mode)

0 commit comments

Comments
 (0)