]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Add missing docstring for BadTTL exception.
authorPetr Spacek <pspacek@redhat.com>
Fri, 16 Jan 2015 12:10:04 +0000 (13:10 +0100)
committerPetr Spacek <pspacek@redhat.com>
Thu, 12 Feb 2015 11:34:17 +0000 (12:34 +0100)
dns/ttl.py

index ab6ddf4e6659b95b3a679d7e4c53a38e4281357c..dc92b2146d728ce4f0c85d777b324ac52fe8a3bc 100644 (file)
@@ -18,7 +18,7 @@
 import dns.exception
 
 class BadTTL(dns.exception.SyntaxError):
-    pass
+    """DNS TTL value is not well-formed."""
 
 def from_text(text):
     """Convert the text form of a TTL to an integer.