diff --git a/CHANGELOG.md b/CHANGELOG.md index 919d7ad99..ad4841a88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master - CURRENT +## 3.4.4 - 25/10/2020 + ## 3.4.3 - 07/09/2020 ### Modified * Improve versions constraints by declaring latest major versions known to work with Lexicon diff --git a/lexicon/providers/gandi.py b/lexicon/providers/gandi.py index 7390f4dbf..80ea95130 100644 --- a/lexicon/providers/gandi.py +++ b/lexicon/providers/gandi.py @@ -110,13 +110,21 @@ def _create_record(self, rtype, name, content): if current_values: record = {"rrset_values": current_values + [content]} if self._get_lexicon_option("ttl"): - record["rrset_ttl"] = self._get_lexicon_option("ttl") if self._get_lexicon_option("ttl") >= 300 else 300 + record["rrset_ttl"] = ( + self._get_lexicon_option("ttl") + if self._get_lexicon_option("ttl") >= 300 + else 300 + ) self._put(url, record) else: record = {"rrset_values": [content]} # add the ttl, if this is a new record if self._get_lexicon_option("ttl"): - record["rrset_ttl"] = self._get_lexicon_option("ttl") if self._get_lexicon_option("ttl") >= 300 else 300 + record["rrset_ttl"] = ( + self._get_lexicon_option("ttl") + if self._get_lexicon_option("ttl") >= 300 + else 300 + ) self._post(url, record) LOGGER.debug("create_record: %s", True) return True diff --git a/pyproject.toml b/pyproject.toml index ef45e529a..b2da118c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "poetry.masonry.api" [tool.poetry] name = "dns-lexicon" -version = "3.4.3" +version = "3.4.4" description = "Manipulate DNS records on various DNS providers in a standardized/agnostic way" license = "MIT" keywords = [