commit | 0bddc9eb15b88b22676aa516740f3ebd20fb8bb1 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Wed Dec 23 00:08:24 2015 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Wed Dec 23 00:08:24 2015 +0200 |
tree | d91365013fc0bfbe21c9cb53a0b6d22a72c22d06 | |
parent | 0ce7a3a34cec0e625f63d46390a8c1d2e167494f [diff] [blame] |
Issue #25860: os.fwalk() no longer skips remaining directories when error occurs. Original patch by Samson Lee.
diff --git a/Lib/os.py b/Lib/os.py index 2b89b93..13a42c3 100644 --- a/Lib/os.py +++ b/Lib/os.py
@@ -514,7 +514,7 @@ 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)