Commit 6bcbae3c by willmcgugan@gmail.com

Fix for missing ResourceNotFound error in fs.walk

parent dc1fe703
......@@ -850,6 +850,10 @@ class FS(object):
"""
path = normpath(path)
if not self.exists(path):
raise ResourceNotFoundError(path)
def listdir(path, *args, **kwargs):
if ignore_errors:
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment