]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
spelling: exception
authorJosh Soref <jsoref@users.noreply.github.com>
Sun, 13 Jun 2021 21:32:57 +0000 (17:32 -0400)
committerWillem Toorop <willem@nlnetlabs.nl>
Mon, 14 Jun 2021 09:29:16 +0000 (11:29 +0200)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
contrib/ldnsx/ldnsx.py
contrib/python/ldns_rr.i

index 45e3969ec5a8c02610486448a9ea75dc842a380d..e8fc157b31c6080444053f2877031ea4d0387cf0 100644 (file)
@@ -320,7 +320,7 @@ class resolver:
                        pkt = self._ldns_resolver.query(name, _rr_type, _rr_class, _flags)
                except KeyboardInterrupt: #Since so much time is spent waiting on ldns, this is very common place for Ctr-C to fall
                        raise
-               except: #Since the ldns exceptiion is not very descriptive...
+               except: #Since the ldns exception is not very descriptive...
                        raise Exception("ldns backend ran into problems. Likely, the name you were querying for, %s, was invalid." % name)
                #Deal with failed queries
                if not pkt:
index 42406d6c8a55943634e699aa1a7ec27e8b226cda..2e0a07140d41c1a9e7ebd81bc34bd48e722f8785 100644 (file)
@@ -562,7 +562,7 @@ to create :class:`ldns_rr` instances.
                :type prev: :class:`ldns_rdf`
                :param raiseException: If True, an exception occurs in case a rr
                    instance can't be created.
-               :throws Exception: If `raiseExceprion` is set and fails.
+               :throws Exception: If `raiseException` is set and fails.
                :throws TypeError: When parameters of incorrect types.
                :return: (:class:`ldns_rr`) RR instance or None.
 
@@ -612,7 +612,7 @@ to create :class:`ldns_rr` instances.
                :type prev: :class:`ldns_rdf`
                :param raiseException: If True, an exception occurs in case
                    a rr instance can't be created.
-               :throws Exception: If `raiseExceprion` is set and fails.
+               :throws Exception: If `raiseException` is set and fails.
                :throws TypeError: When parameters of incorrect types.
                :return: (:class:`ldns_rr`) RR instance or None. If the object
                    can't be created and `raiseException` is True,
@@ -657,7 +657,7 @@ to create :class:`ldns_rr` instances.
                :type prev: :class:`ldns_rdf`
                :param raiseException: If True, an exception occurs in case when
                    a rr instance can't be created.
-               :throws Exception: If `raiseExceprion` is set and fails.
+               :throws Exception: If `raiseException` is set and fails.
                :throws TypeError: When parameters of incorrect types.
                :return: None when fails, otherwise a tuple containing: