diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-22 22:08:24 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-22 22:08:24 (GMT) |
commit | 0bddc9eb15b88b22676aa516740f3ebd20fb8bb1 (patch) | |
tree | d91365013fc0bfbe21c9cb53a0b6d22a72c22d06 /Lib/os.py | |
parent | 0ce7a3a34cec0e625f63d46390a8c1d2e167494f (diff) | |
download | cpython-0bddc9eb15b88b22676aa516740f3ebd20fb8bb1.zip cpython-0bddc9eb15b88b22676aa516740f3ebd20fb8bb1.tar.gz cpython-0bddc9eb15b88b22676aa516740f3ebd20fb8bb1.tar.bz2 |
Issue #25860: os.fwalk() no longer skips remaining directories when error occurs.
Original patch by Samson Lee.
Diffstat (limited to 'Lib/os.py')
-rw-r--r-- | Lib/os.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -514,7 +514,7 @@ if {open, stat} <= supports_dir_fd and {listdir, stat} <= supports_fd: except OSError as err: if onerror is not None: onerror(err) - return + continue try: if follow_symlinks or path.samestat(orig_st, stat(dirfd)): dirpath = path.join(toppath, name) |