Add ref to Python bug

This commit is contained in:
Bruno Oliveira 2020-08-14 11:36:07 -03:00
parent 36c8bb492e
commit f76b162263
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ def get_dirs_from_args(args: Iterable[str]) -> List[Path]:
def safe_exists(path: Path) -> bool: def safe_exists(path: Path) -> bool:
# This can throw on paths that contain characters unrepresentable at the OS level, # This can throw on paths that contain characters unrepresentable at the OS level,
# or with invalid syntax on Windows # or with invalid syntax on Windows (https://bugs.python.org/issue35306)
try: try:
return path.exists() return path.exists()
except OSError: except OSError: