1
0
forked from VimPlug/jedi

Catch 'OSError' instead of just 'PermissionError'

This commit is contained in:
Adrian Labbé
2020-12-06 15:25:46 -03:00
parent 83d4ec9e84
commit 12a2d10595
2 changed files with 2 additions and 2 deletions

View File

@@ -369,7 +369,7 @@ def _is_potential_project(path):
try:
if path.joinpath(name).exists():
return True
except PermissionError:
except OSError:
continue
return False