Skip to content

Commit

Permalink
chore: remove error handling for Python < 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
radoering committed Jan 22, 2023
1 parent e0c288b commit 6cfe239
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/poetry/core/packages/path_dependency.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ def __init__(
self._full_path = path

if not self._path.is_absolute():
try:
self._full_path = self._base.joinpath(self._path).resolve()
except FileNotFoundError:
raise ValueError(f"Path {self._path} does not exist")
self._full_path = self._base.joinpath(self._path).resolve()

if not self._full_path.exists():
raise ValueError(f"Path {self._path} does not exist")
Expand Down

0 comments on commit 6cfe239

Please sign in to comment.