Bump dnspython from 2.2.0 to 2.2.1 (#1679)

* Bump dnspython from 2.2.0 to 2.2.1

Bumps [dnspython](https://github.com/rthalley/dnspython) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/rthalley/dnspython/releases)
- [Changelog](https://github.com/rthalley/dnspython/blob/master/doc/whatsnew.rst)
- [Commits](https://github.com/rthalley/dnspython/compare/v2.2.0...v2.2.1)

---
updated-dependencies:
- dependency-name: dnspython
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update dnspython==2.2.1

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>

[skip ci]
This commit is contained in:
dependabot[bot] 2022-05-16 20:33:29 -07:00 committed by GitHub
commit aa0c58ef0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 88 additions and 30 deletions

View file

@ -389,7 +389,7 @@ class Transaction:
if rdataset.rdclass != self.manager.get_class():
raise ValueError(f'{method} has objects of wrong RdataClass')
if rdataset.rdtype == dns.rdatatype.SOA:
(_, _, origin) = self.manager.origin_information()
(_, _, origin) = self._origin_information()
if name != origin:
raise ValueError(f'{method} has non-origin SOA')
self._raise_if_not_empty(method, args)
@ -560,7 +560,7 @@ class Transaction:
*commit*, a bool. If ``True``, commit the transaction, otherwise
roll it back.
If committing adn the commit fails, then roll back and raise an
If committing and the commit fails, then roll back and raise an
exception.
"""
raise NotImplementedError # pragma: no cover
@ -585,3 +585,12 @@ class Transaction:
Returns a node or ``None``.
"""
raise NotImplementedError # pragma: no cover
#
# Low-level API with a default implementation, in case a subclass needs
# to override.
#
def _origin_information(self):
# This is only used by _add()
return self.manager.origin_information()