forked from VimPlug/jedi
Catch 'OSError' instead of just 'PermissionError'
This commit is contained in:
@@ -369,7 +369,7 @@ def _is_potential_project(path):
|
||||
try:
|
||||
if path.joinpath(name).exists():
|
||||
return True
|
||||
except PermissionError:
|
||||
except OSError:
|
||||
continue
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user