diff options
author | Daniel Gnoutcheff <gnoutchd@softwarefreedom.org> | 2016-07-19 17:07:49 -0400 |
---|---|---|
committer | Daniel Gnoutcheff <gnoutchd@softwarefreedom.org> | 2016-07-19 17:07:49 -0400 |
commit | c51dcc263928f1b0610a74fc4f12a7ea60c59f6f (patch) | |
tree | 806e3babc51422563b93648792432a504db5aa51 /avfs.py | |
parent | 08b5cc27eb37ea9996aea7561d8352e23a11014c (diff) |
avfs: don't break on un-stat-able files
Diffstat (limited to 'avfs.py')
-rw-r--r-- | avfs.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |