summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2015-01-16 13:10:04 +0100
committerPetr Spacek <pspacek@redhat.com>2015-02-12 12:38:31 +0100
commite1a53dfc61dd7c6abc5034497249192ee3dff078 (patch)
tree216ddc5a7da4d194cf20ef6b9600fe7e4b9b423c
parentf53422ee7059f6141c89818a96837e694f4ae730 (diff)
downloaddnspython-e1a53dfc61dd7c6abc5034497249192ee3dff078.tar.gz
Add missing docstring for BadTTL exception.
-rw-r--r--dns/ttl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/ttl.py b/dns/ttl.py
index 4341c49..2f4d011 100644
--- a/dns/ttl.py
+++ b/dns/ttl.py
@@ -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.