]> 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:38:31 +0000 (12:38 +0100)
dns/ttl.py

index 4341c49904354d07e7ff8ac8ee19f0c64874972c..2f4d01181e8fca8760a5137b3fd2c1f77f0eccd8 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.