We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bb9582c + d2fed3d commit ae96febCopy full SHA for ae96feb
poetry/vcs/__init__.py
@@ -20,7 +20,7 @@ def get_vcs(directory): # type: (Path) -> Git
20
21
vcs = Git(Path(git_dir))
22
23
- except subprocess.CalledProcessError:
+ except (subprocess.CalledProcessError, OSError):
24
vcs = None
25
finally:
26
os.chdir(str(working_dir))
0 commit comments