From: Petr Spacek Date: Fri, 16 Jan 2015 12:10:04 +0000 (+0100) Subject: Add missing docstring for BadTTL exception. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1a53dfc61dd7c6abc5034497249192ee3dff078;p=thirdparty%2Fdnspython.git Add missing docstring for BadTTL exception. --- diff --git a/dns/ttl.py b/dns/ttl.py index 4341c499..2f4d0118 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.