Skip to content

Commit

Permalink
Fixes #12
Browse files Browse the repository at this point in the history
  • Loading branch information
danbradham committed Aug 19, 2019
1 parent 98b4695 commit 12f5b89
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fsfs/_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def one(self):
try:
return self.next()
except StopIteration:
return None
return

def clone(self, **kwargs):
'''Clone this Search object. Pass kwargs to override attributes on
Expand Down Expand Up @@ -184,6 +184,8 @@ def safe_scandir(root):
if e.errno not in IGNORE:
print(e, e.errno)
raise
except StopIteration:
return


@util.regenerator
Expand Down
2 changes: 2 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ nose
scandir
sphinx-rtd-theme
pyyaml
wheel
twine

0 comments on commit 12f5b89

Please sign in to comment.