Skip to content

Commit

Permalink
Version 3.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
adferrand committed Nov 3, 2021
1 parent e97eb7e commit 855582a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## master - CURRENT

## 3.8.2 - 03/11/2021
## Modified
* Fix `dreamhost` provider since deprecated API endpoints are removed (#998)

Expand Down
5 changes: 4 additions & 1 deletion lexicon/providers/dreamhost.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@ def _authenticate(self):
raise AuthenticationError("Domain not found")

for record in data:
if record.get("record", "") == self.domain and record.get("type", "") in ["A", "AAAA"]:
if record.get("record", "") == self.domain and record.get("type", "") in [
"A",
"AAAA",
]:
self.domain_id = self.domain
break
if self.domain_id is None:
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.8.1"
version = "3.8.2"
description = "Manipulate DNS records on various DNS providers in a standardized/agnostic way"
license = "MIT"
keywords = [
Expand Down

0 comments on commit 855582a

Please sign in to comment.