1
0
forked from VimPlug/jedi

Fix potential bug passing exception to function excepting str

Found while adding type annotations.
This commit is contained in:
Peter Law
2020-08-30 16:14:00 +01:00
parent b9fd84e11c
commit 392dcdf015

View File

@@ -205,7 +205,7 @@ def _get_buildout_script_paths(search_path: Path):
except (UnicodeDecodeError, IOError) as e:
# Probably a binary file; permission error or race cond. because
# file got deleted. Ignore it.
debug.warning(e)
debug.warning(str(e))
continue