Skip to content

Commit

Permalink
Revert "Version 3.15.1"
Browse files Browse the repository at this point in the history
This reverts commit 2bf4963.
  • Loading branch information
adferrand committed Oct 13, 2023
1 parent 93b5249 commit 47ff0df
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Changelog

## master - CURRENT

## 3.15.1 - 13/10/2023
### Modified
* Protect `ovh` provider against invalid response bodies
that are returned sometimes by OVH APIs.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "dns-lexicon"
version = "3.15.1"
version = "3.15.0"
description = "Manipulate DNS records on various DNS providers in a standardized/agnostic way"
license = "MIT"
keywords = [
Expand Down
4 changes: 1 addition & 3 deletions src/lexicon/_private/providers/ovh.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,5 @@ def _request(self, action="GET", url="/", data=None, query_params=None):
try:
return result.json()
except requests.exceptions.JSONDecodeError:
LOGGER.warning(
f"Unexpected response from OVH APIs for {action} {url} (response dumped as plain text):\n{result.text}"
)
LOGGER.warning(f"Unexpected response from OVH APIs for {action} {url} (response dumped as plain text):\n{result.text}")
return None

0 comments on commit 47ff0df

Please sign in to comment.