Skip to content

Commit 9e5cbf3

Browse files
authored
Update src/poetry/repositories/pypi_repository.py
1 parent 090cb4f commit 9e5cbf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/poetry/repositories/pypi_repository.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def _get(self, endpoint: str) -> dict[str, Any] | None:
254254
self._base_url + endpoint, raise_for_status=False
255255
)
256256

257-
if json_response.status_code == 404:
257+
if json_response.status_code != 200:
258258
return None
259259

260260
json: dict[str, Any] = json_response.json()

0 commit comments

Comments
 (0)