From 6d1deefc501a659647e98942acdeacb3d881e40f Mon Sep 17 00:00:00 2001 From: Petr Spacek Date: Fri, 16 Jan 2015 13:10:04 +0100 Subject: [PATCH] Add missing docstring for BadTTL exception. --- dns/ttl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns/ttl.py b/dns/ttl.py index ab6ddf4e..dc92b214 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. -- 2.47.3