summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--avfs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/avfs.py b/avfs.py
index ca75062..5e877ef 100644
--- a/avfs.py
+++ b/avfs.py
@@ -96,6 +96,8 @@ def find(path, excludes):
name = os.path.basename(path)
mode = get_lstat_mode(sys_path)
+ if mode is None:
+ return
if name in excludes:
return