Skip to content

Commit 6fd81d4

Browse files
committed
Complete the backport of ALLOW_MISSING
1 parent f7e5301 commit 6fd81d4

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
@@ -434,7 +434,7 @@ def _joinrealpath(path, rest, strict, seen):
434434
newpath = join(path, name)
435435
try:
436436
st = os.lstat(newpath)
437-
except OSError:
437+
except ignored_error:
438438
is_link = False
439439
else:
440440
is_link = stat.S_ISLNK(st.st_mode)

0 commit comments

Comments
 (0)