]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
The NXDOMAIN exception should not use its docstring.
authorBob Halley <halley@dnspython.org>
Tue, 20 Feb 2018 20:19:04 +0000 (12:19 -0800)
committerBob Halley <halley@dnspython.org>
Tue, 20 Feb 2018 20:19:04 +0000 (12:19 -0800)
[Issue #253]

README.md
dns/resolver.py

index c19183ac2c0542ff533af19947afc8460a4dcb99..bddad2244647e5a3fe1aab4eab8259ee1bddbdab 100644 (file)
--- a/README.md
+++ b/README.md
@@ -33,7 +33,17 @@ continuing to employ the author :).
 
 ## ABOUT THIS RELEASE
 
-This is dnspython 1.15.0
+This is dnspython 1.16.0
+
+### New since 1.15.0:
+
+XXXTBSXXX
+
+### Bugs fixed since 1.15.0:
+
+* DNSSEC signature validation didn't check names correctly.  [Issue #295]
+
+* The NXDOMAIN exception should not use its docstring.  [Issue #253]
 
 ### New since 1.14.0:
 
@@ -51,10 +61,6 @@ This is dnspython 1.15.0
 
 * The AVC RR is now supported.
 
-### Bugs fixed since 1.15.0:
-
-* DNSSEC signature validation didn't check names correctly.  [Issue #295]
-
 ### Bugs fixed since 1.14.0:
 
 * Some problems with newlines in various output modes have been
index 00323835d33bc7003c424a7bf02ed16356326a69..e8d1f673430a75ca26e8be83a66c17e9ab0b6725 100644 (file)
@@ -69,7 +69,7 @@ class NXDOMAIN(dns.exception.DNSException):
         if len(qnames) > 1:
             msg = 'None of DNS query names exist'
         else:
-            msg = self.__doc__[:-1]
+            msg = 'The DNS query name does not exist'
         qnames = ', '.join(map(str, qnames))
         return "%s: %s" % (msg, qnames)