From 855582ae4140dd1e4c79478eaab3a099107733bf Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Wed, 3 Nov 2021 22:48:54 +0100 Subject: [PATCH] Version 3.8.2 --- CHANGELOG.md | 2 ++ lexicon/providers/dreamhost.py | 5 ++++- pyproject.toml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0e0d3377..88b6c6b66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # Changelog ## master - CURRENT + +## 3.8.2 - 03/11/2021 ## Modified * Fix `dreamhost` provider since deprecated API endpoints are removed (#998) diff --git a/lexicon/providers/dreamhost.py b/lexicon/providers/dreamhost.py index 8068f1913..c57a0703f 100644 --- a/lexicon/providers/dreamhost.py +++ b/lexicon/providers/dreamhost.py @@ -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: diff --git a/pyproject.toml b/pyproject.toml index 382bf3025..bdc95cdbd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = [